Session candles & reversals / quantifytools— Overview
Like traditional candles, session based candles are a visualization of open, high, low and close values, but based on session time periods instead of typical timeframes such as daily or weekly. Session candles are formed by fetching price at session start (open), highest price during session (high), lowest price during session (low) and price at session end (close). On top of candles, session based moving average is formed and session reversals detected. Session reversals are also backtested, using win rate and magnitude metrics to better understand what to expect from session reversals and which ones have historically performed the best.
By default, following session time periods are used:
Session #1: London (08:00 - 17:00, UTC)
Session #2: New York (13:00 - 22:00, UTC)
Session #3: Sydney (21:00 - 06:00, UTC)
Session #4: Tokyo (00:00 - 09:00, UTC)
Session time periods can be changed via input menu.
— Reversals
Session reversals are patterns that show a rapid change in direction during session. These formations are more familiarly known as wicks or engulfing candles. Following criteria must be met to qualify as a session reversal:
Wick up:
Lower high, lower low, close >= 65% of session range (0% being the very low, 100% being the very high) and open >= 40% of session range.
Wick down:
Higher high, higher low, close <= 35% of session range and open <= 60% of session range.
Engulfing up:
Higher high, lower low, close >= 65% of session range.
Engulfing down:
Higher high, lower low, close <= 35% of session range.
Session reversals are always based on prior corresponding session , e.g. to qualify as a NY session engulfing up, NY session must have a higher high and lower low relative to prior NY session , not just any session that has taken place in between. Session reversals should be viewed the same way wicks/engulfing formations are viewed on traditional timeframe based candles. Essentially, wick reversals (light green/red labels) tell you most of the motion during session was reversed. Engulfing reversals (dark green/red labels) on the other hand tell you all of the motion was reversed and new direction set.
— Backtesting
Session reversals are backtested using win rate and magnitude metrics. A session reversal is considered successful when next corresponding session closes higher/lower than session reversal close . Win rate is formed by dividing successful session reversal count with total reversal count, e.g. 5 successful reversals up / 10 reversals up total = 50% win rate. Win rate tells us what are the odds (historically) of session reversal producing a clean supporting move that was persistent enough to close that way too.
When a session reversal is successful, its magnitude is measured using percentage increase/decrease from session reversal close to next corresponding session high/low . If NY session closes higher than prior NY session that was a reversal up, the percentage increase from prior session close (reversal close) to current session high is measured. If NY session closes lower than prior NY session that was a reversal down, the percentage decrease from prior session close to current session low is measured.
Average magnitude is formed by dividing all percentage increases/decreases with total reversal count, e.g. 10 total reversals up with 1% increase each -> 10% net increase from all reversals -> 10% total increase / 10 total reversals up = 1% average magnitude. Magnitude metric supports win rate by indicating the depth of successful session reversal moves.
To better understand the backtesting calculations and more importantly to verify their validity, backtesting visuals for each session can be plotted on the chart:
All backtesting results are shown in the backtesting panel on top right corner, with highest win rates and magnitude metrics for both reversals up and down marked separately. Note that past performance is not a guarantee of future performance and session reversals as they are should not be viewed as a complete strategy for long/short plays. Always make sure reversal count is sufficient to draw reliable conclusions of performance.
— Session moving average
Users can form a session based moving average with their preferred smoothing method (SMA , EMA , HMA , WMA , RMA) and length, as well as choose which sessions to include in the moving average. For example, a moving average based on New York and Tokyo sessions can be formed, leaving London and Sydney completely out of the calculation.
— Visuals
By default, script hides your candles/bars, although in the case of candles borders will still be visible. Switching to bars/line will make your regular chart visuals 100% hidden. This setting can be turned off via input menu. As some sessions overlap, each session candle can be separately offsetted forward, clearing the overlaps. Users can also choose which session candles to show/hide.
Session periods can be highlighted on the chart as a background color, applicable to only session candles that are activated. By default, session reversals are referred to as L (London), N (New York), S (Sydney) and T (Tokyo) in both reversal labels and backtesting table. By toggling on "Numerize sessions", these will be replaced with 1, 2, 3 and 4. This will be helpful when using a custom session that isn't any of the above.
Visual settings example:
Session candles are plotted in two formats, using boxes and lines as well as plotcandle() function. Session candles constructed using boxes and lines will be clear and much easier on the eyes, but will apply only to first 500 bars due to Tradingview related limitations. Rest of the session candles go back indefinitely, but won't be as clean:
All colors can be customized via input menu.
— Timeframe & session time period considerations
As a rule of thumb, session candles should be used on timeframes at or below 1H, as higher timeframes might not match with session period start/end, leading to incorrect plots. Using 1 hour timeframe will bring optimal results as greatest amount historical data is available without sacrificing accuracy of OHLC values. If you are using a custom session that is not based on hourly period (e.g. 08:00 - 15:00 vs. 08.00 - 15.15) make sure you are using a timeframe that allows correct plots.
Session time periods applied by default are rough estimates and might be out of bounds on some charts, like NYSE listed equities. This is rarely a problem on assets that have extensive trading hours, like futures or cryptocurrency. If a session is out of bounds (asset isn't traded during the set session time period) the script won't plot given session candle and its backtesting metrics will be NA. This can be fixed by changing the session time periods to match with given asset trading hours, although you will have to consider whether or not this defeats the purpose of having candles based on sessions.
— Practical guide
Whether based on traditional timeframes or sessions, reversals should always be considered as only one piece of evidence of price turning. Never react to them without considering other factors that might support the thesis, such as levels and multi-timeframe analysis. In short, same basic charting principles apply with session candles that apply with normal candles. Use discretion.
Example #1 : Focusing efforts on session reversals at distinct support/resistance levels
A reversal against a level holds more value than a reversal by itself, as you know it's a placement where liquidity can be expected. A reversal serves as a confirming reaction for this expectation.
Example #2 : Focusing efforts on highest performing reversals and avoiding poorly performing ones
As you have data backed evidence of session reversal performance, it makes sense to focus your efforts on the ones that perform best. If some session reversal is clearly performing poorly, you would want to avoid it, since there's nothing backing up its validity.
Example #3 : Reversal clusters
Two is better than one, three is better than two and so on. If there are rapid changes in direction within multiple sessions consecutively, there's heavier evidence of a dynamic shift in price. In such case, it makes sense to hold more confidence in price halting/turning.
Pesquisar nos scripts por "high low"
SUPERTREND MIXED ICHI-DMI-DONCHIAN-VOL-GAP-HLBox@RLSUPERTREND MIXED ICHI-DMI-VOL-GAP-HLBox@RL
by RegisL76
This script is based on several trend indicators.
* ICHIMOKU (KINKO HYO)
* DMI (Directional Movement Index)
* SUPERTREND ICHIMOKU + SUPERTREND DMI
* DONCHIAN CANAL Optimized with Colored Bars
* HMA Hull
* Fair Value GAP
* VOLUME/ MA Volume
* PRICE / MA Price
* HHLL BOXES
All these indications are visible simultaneously on a single graph. A data table summarizes all the important information to make a good trade decision.
ICHIMOKU Indicator:
The ICHIMOKU indicator is visualized in the traditional way.
ICHIMOKU standard setting values are respected but modifiable. (Traditional defaults = .
An oriented visual symbol, near the last value, indicates the progression (Ascending, Descending or neutral) of the TENKAN-SEN and the KIJUN-SEN as well as the period used.
The CLOUD (KUMO) and the CHIKOU-SPAN are present and are essential for the complete analysis of the ICHIMOKU.
At the top of the graph are visually represented the crossings of the TENKAN and the KIJUN.
Vertical lines, accompanied by labels, make it possible to quickly visualize the particularities of the ICHIMOKU.
A line displays the current bar.
A line visualizes the end of the CLOUD (KUMO) which is shifted 25 bars into the future.
A line visualizes the end of the chikou-span, which is shifted 25 bars in the past.
DIRECTIONAL MOVEMENT INDEX (DMI) : Treated conventionally : DI+, DI-, ADX and associated with a SUPERTREND DMI.
A visual symbol at the bottom of the graph indicates DI+ and DI- crossings
A line of oriented and colored symbols (DMI Line) at the top of the chart indicates the direction and strength of the trend.
SUPERTREND ICHIMOKU + SUPERTREND DMI :
Trend following by SUPERTREND calculation.
DONCHIAN CHANNEL: Treated conventionally. (And optimized by colored bars when overshooting either up or down.
The lines, high and low of the last values of the channel are represented to quickly visualize the level of the RANGE.
SUPERTREND HMA (HULL) Treated conventionally.
The HMA line visually indicates, according to color and direction, the market trend.
A visual symbol at the bottom of the chart indicates opportunities to sell and buy.
VOLUME:
Calculation of the MOBILE AVERAGE of the volume with comparison of the volume compared to the moving average of the volume.
The indications are colored and commented according to the comparison.
PRICE: Calculation of the MOBILE AVERAGE of the price with comparison of the price compared to the moving average of the price.
The indications are colored and commented according to the comparison.
HHLL BOXES:
Visualizes in the form of a box, for a given period, the max high and min low values of the price.
The configuration allows taking into account the high and low wicks of the price or the opening and closing values.
FAIR VALUE GAP :
This indicator displays 'GAP' levels over the current time period and an optional higher time period.
The script takes into account the high/low values of the current bar and compares with the 2 previous bars.
The "gap" is generated from the lack of overlap between these bars. Bearish or bullish gaps are determined by whether the gap is above or below HmaPrice, as they tend to fill, and can be used as targets.
NOTE: FAIR VALUE GAP has no values displayed in the table and/or label.
Important information (DATA) relating to each indicator is displayed in real time in a table and/or a label.
Each information is commented and colored according to direction, value, comparison etc.
Each piece of information indicates the values of the current bar and the previous value (in "FULL" mode).
The other possible modes for viewing the table and/or the label allow a more synthetic view of the information ("CONDENSED" and "MINIMAL" modes).
In order not to overload the vision of the chart too much, the visualization box of the RANGE DONCHIAN, the vertical lines of the shifted marks of the ICHIMOKU, as well as the boxes of the HHLL Boxes indicator are only visualized intermittently (managed by an adjustable time delay ).
The "HISTORICAL INFO READING" configuration parameter set to zero (by default) makes it possible to read all the information of the current bar in progress (Bar #0). All other values allow to read the information of a historical bar. The value 1 reads the information of the bar preceding the current bar (-1). The value 10 makes it possible to read the information of the tenth bar behind (-10) compared to the current bar, etc.
At the bottom of the DATAS table and label, lights, red, green or white indicate quickly summarize the trend from the various indicators.
Each light represents the number of indicators with the same trend at a given time.
Green for a bullish trend, red for a bearish trend and white for a neutral trend.
The conditions for determining a trend are for each indicator:
SUPERTREND ICHIMOHU + DMI: the 2 Super trends together are either bullish or bearish.
Otherwise the signal is neutral.
DMI: 2 main conditions:
BULLISH if DI+ >= DI- and ADX >25.
BEARISH if DI+ < DI- and ADX >25.
NEUTRAL if the 2 conditions are not met.
ICHIMOKU: 3 main conditions:
BULLISH if PRICE above the cloud and TENKAN > KIJUN and GREEN CLOUD AHEAD.
BEARISH if PRICE below the cloud and TENKAN < KIJUN and RED CLOUD AHEAD.
The other additional conditions (Data) complete the analysis and are present for informational purposes of the trend and depend on the context.
DONCHIAN CHANNEL: 1 main condition:
BULLISH: the price has crossed above the HIGH DC line.
BEARISH: the price has gone below the LOW DC line.
NEUTRAL if the price is between the HIGH DC and LOW DC lines
The 2 other complementary conditions (Datas) complete the analysis:
HIGH DC and LOW DC are increasing, falling or stable.
SUPERTREND HMA HULL: The script determines several trend levels:
STRONG BUY, BUY, STRONG SELL, SELL AND NEUTRAL.
VOLUME: 3 trend levels:
VOLUME > MOVING AVERAGE,
VOLUME < MOVING AVERAGE,
VOLUME = MOVING AVERAGE.
PRICE: 3 trend levels:
PRICE > MOVING AVERAGE,
PRICE < MOVING AVERAGE,
PRICE = MOVING AVERAGE.
If you are using this indicator/strategy and you are satisfied with the results, you can possibly make a donation (a coffee, a pizza or more...) via paypal to: lebourg.regis@free.fr.
Thanks in advance !!!
Have good winning Trades.
**************************************************************************************************************************
SUPERTREND MIXED ICHI-DMI-VOL-GAP-HLBox@RL
by RegisL76
Ce script est basé sur plusieurs indicateurs de tendance.
* ICHIMOKU (KINKO HYO)
* DMI (Directional Movement Index)
* SUPERTREND ICHIMOKU + SUPERTREND DMI
* DONCHIAN CANAL Optimized with Colored Bars
* HMA Hull
* Fair Value GAP
* VOLUME/ MA Volume
* PRIX / MA Prix
* HHLL BOXES
Toutes ces indications sont visibles simultanément sur un seul et même graphique.
Un tableau de données récapitule toutes les informations importantes pour prendre une bonne décision de Trade.
I- Indicateur ICHIMOKU :
L’indicateur ICHIMOKU est visualisé de manière traditionnelle
Les valeurs de réglage standard ICHIMOKU sont respectées mais modifiables. (Valeurs traditionnelles par défaut =
Un symbole visuel orienté, à proximité de la dernière valeur, indique la progression (Montant, Descendant ou neutre) de la TENKAN-SEN et de la KIJUN-SEN ainsi que la période utilisée.
Le NUAGE (KUMO) et la CHIKOU-SPAN sont bien présents et sont primordiaux pour l'analyse complète de l'ICHIMOKU.
En haut du graphique sont représentés visuellement les croisements de la TENKAN et de la KIJUN.
Des lignes verticales, accompagnées d'étiquettes, permettent de visualiser rapidement les particularités de l'ICHIMOKU.
Une ligne visualise la barre en cours.
Une ligne visualise l'extrémité du NUAGE (KUMO) qui est décalé de 25 barres dans le futur.
Une ligne visualise l'extrémité de la chikou-span, qui est décalée de 25 barres dans le passé.
II-DIRECTIONAL MOVEMENT INDEX (DMI)
Traité de manière conventionnelle : DI+, DI-, ADX et associé à un SUPERTREND DMI
Un symbole visuel en bas du graphique indique les croisements DI+ et DI-
Une ligne de symboles orientés et colorés (DMI Line) en haut du graphique, indique la direction et la puissance de la tendance.
III SUPERTREND ICHIMOKU + SUPERTREND DMI
Suivi de tendance par calcul SUPERTREND
IV- DONCHIAN CANAL :
Traité de manière conventionnelle.
(Et optimisé par des barres colorées en cas de dépassement soit vers le haut, soit vers le bas.
Les lignes, haute et basse des dernières valeurs du canal sont représentées pour visualiser rapidement la fourchette du RANGE.
V- SUPERTREND HMA (HULL)
Traité de manière conventionnelle.
La ligne HMA indique visuellement, selon la couleur et l'orientation, la tendance du marché.
Un symbole visuel en bas du graphique indique les opportunités de vente et d'achat.
*VI VOLUME :
Calcul de la MOYENNE MOBILE du volume avec comparaison du volume par rapport à la moyenne mobile du volume.
Les indications sont colorées et commentées en fonction de la comparaison.
*VII PRIX :
Calcul de la MOYENNE MOBILE du prix avec comparaison du prix par rapport à la moyenne mobile du prix.
Les indications sont colorées et commentées en fonction de la comparaison.
*VIII HHLL BOXES :
Visualise sous forme de boite, pour une période donnée, les valeurs max hautes et min basses du prix.
La configuration permet de prendre en compte les mèches hautes et basses du prix ou bien les valeurs d'ouverture et de fermeture.
IX - FAIR VALUE GAP
Cet indicateur affiche les niveaux de 'GAP' sur la période temporelle actuelle ET une période temporelle facultative supérieure.
Le script prend en compte les valeurs haut/bas de la barre actuelle et compare avec les 2 barres précédentes.
Le "gap" est généré à partir du manque de recouvrement entre ces barres.
Les écarts baissiers ou haussiers sont déterminés selon que l'écart est supérieurs ou inférieur à HmaPrice, car ils ont tendance à être comblés, et peuvent être utilisés comme cibles.
NOTA : FAIR VALUE GAP n'a pas de valeurs affichées dans la table et/ou l'étiquette.
Les informations importantes (DATAS) relatives à chaque indicateur sont visualisées en temps réel dans une table et/ou une étiquette.
Chaque information est commentée et colorée en fonction de la direction, de la valeur, de la comparaison etc.
Chaque information indique la valeurs de la barre en cours et la valeur précédente ( en mode "COMPLET").
Les autres modes possibles pour visualiser la table et/ou l'étiquette, permettent une vue plus synthétique des informations (modes "CONDENSÉ" et "MINIMAL").
Afin de ne pas trop surcharger la vision du graphique, la boite de visualisation du RANGE DONCHIAN, les lignes verticales des marques décalées de l'ICHIMOKU, ainsi que les boites de l'indicateur HHLL Boxes ne sont visualisées que de manière intermittente (géré par une temporisation réglable ).
Le paramètre de configuration "HISTORICAL INFO READING" réglé sur zéro (par défaut) permet de lire toutes les informations de la barre actuelle en cours (Barre #0).
Toutes autres valeurs permet de lire les informations d'une barre historique. La valeur 1 permet de lire les informations de la barre précédant la barre en cours (-1).
La valeur 10 permet de lire les information de la dixième barre en arrière (-10) par rapport à la barre en cours, etc.
Dans le bas de la table et de l'étiquette de DATAS, des voyants, rouge, vert ou blanc indique de manière rapide la synthèse de la tendance issue des différents indicateurs.
Chaque voyant représente le nombre d'indicateur ayant la même tendance à un instant donné. Vert pour une tendance Bullish, rouge pour une tendance Bearish et blanc pour une tendance neutre.
Les conditions pour déterminer une tendance sont pour chaque indicateur :
SUPERTREND ICHIMOHU + DMI : les 2 Super trends sont ensemble soit bullish soit Bearish. Sinon le signal est neutre.
DMI : 2 conditions principales :
BULLISH si DI+ >= DI- et ADX >25.
BEARISH si DI+ < DI- et ADX >25.
NEUTRE si les 2 conditions ne sont pas remplies.
ICHIMOKU : 3 conditions principales :
BULLISH si PRIX au dessus du nuage et TENKAN > KIJUN et NUAGE VERT DEVANT.
BEARISH si PRIX en dessous du nuage et TENKAN < KIJUN et NUAGE ROUGE DEVANT.
Les autres conditions complémentaires (Datas) complètent l'analyse et sont présents à titre informatif de la tendance et dépendent du contexte.
CANAL DONCHIAN : 1 condition principale :
BULLISH : le prix est passé au dessus de la ligne HIGH DC.
BEARISH : le prix est passé au dessous de la ligne LOW DC.
NEUTRE si le prix se situe entre les lignes HIGH DC et LOW DC
Les 2 autres conditions complémentaires (Datas) complètent l'analyse : HIGH DC et LOW DC sont croissants, descendants ou stables.
SUPERTREND HMA HULL :
Le script détermine plusieurs niveaux de tendance :
STRONG BUY, BUY, STRONG SELL, SELL ET NEUTRE.
VOLUME : 3 niveaux de tendance :
VOLUME > MOYENNE MOBILE, VOLUME < MOYENNE MOBILE, VOLUME = MOYENNE MOBILE.
PRIX : 3 niveaux de tendance :
PRIX > MOYENNE MOBILE, PRIX < MOYENNE MOBILE, PRIX = MOYENNE MOBILE.
Si vous utilisez cet indicateur/ stratégie et que vous êtes satisfait des résultats,
vous pouvez éventuellement me faire un don (un café, une pizza ou plus ...) via paypal à : lebourg.regis@free.fr.
Merci d'avance !!!
Ayez de bons Trades gagnants.
Scalping The Bull IndicatorName: Scalping The Bull Indicator
Category: Scalping, Trend Following, Mean Reversion.
Timeframe: 1M, 5M, 30M, 1D depending on the specific technique.
Technical Analysis: The indicator supports the operations of the trader named "Scalping The Bull" which uses price action and exponential moving averages.
Suggested usage: Altcoin showing strong trends for scalping and intra-day trades. Trigger points are used as entry and exit points and to be used to understand when a signal has more power.
It is possible to identify the following conformations:
Shimano: look at the price records of a consecutive series of closings between the EMA 60 and the EMA 223 when a certain threshold is reached. Use the trigger points as price structures to identify entry and exit zones (e.g. breakout of the yesterday high as for entry point) .
Bomb: look at the price registers a percentage variation in a single candle, greater than a threshold such as 2%, in particular on shorter timeframes and around the trigger points.
Viagra: look at there is a consecutive series of closes below the EMA 10.
Downward fake: look when, after a cross under (Death Cross), the price returns above the EMA 223 using the yesterday high as a trigger point.
Emergence: look at the EMA 60 is about to cross over the EMA 223.
Anti-crossing: look at, after an important price rise and a subsequent retracement, the EMA 60 is about to cross under the EMA 223 but a bullish impulse brings the price back above the EMAs.
For Sales: look at two types of situations: 1) when the price falls by more than 10% from the opening price and around the yesterday’s low or 2) when the price falls and then reaches, in the last 5 days, a bigger percentage and then breaks a trigger point.
Colour change: look at the opening price of the session - indicated as a trigger point.
Third touch of EMA 60: look for 3 touches below the EMA 60, and enter when there is a close above the EMA 60.
Third touch of EMA 223: look for 3 touches when there are 3 touches below the EMA 223, and enter when there is a close above the EMA 60.
Bud: look at price when it crosses upwards the average 10 and subsequently at least 2 "rest" candles are between the maximum and minimum of the breaking candle.
Fake on EMA 10: look for the open of a candle higher than the EMA 10, the minimum of the candle lower and the closing price returns above the EMA 10..
For Stop Loss and Profit Targets consider a proper R/R depending on Risk Management, using price structures such as the low of the entering candle and a quick Position Management moving quickly the Stop-Loss at Break-Even.
Configuration:
Market
EMA: The indicator automatically configure itself on market it knows (Binance, Piazza Affari and NASDAQ) otherwise it can be configured manually fo Crypto market (5/10/60/223) or Stock Market (5/10/50/200).
Additional Average: You can display an additional average, e.g. 20-period average.
Chart elements:
Session Separators: indicates the beginning of the current session (in blue)
Background: signals with the background in green an uptrend situation ( 60 > 223) and in red background a downtrend situation (60 < 223).
Trigger points:
Today's highs and lows: draw on the chart the opening price of the daily candle and the highs and lows of the day (high in purple, low in red and open in green)
Yesterday's highs and lows: draw on the chart the opening price of the daily candle, the highs and lows of the previous day (high in yellow, low in red).
Credits
Massimo : for refactoring and suggestions.
TradeChartist Actuator™TradeChartist Actuator is an extremely functional indicator that converts the price action volatility and momentum into a meaningful trading system (based on user defined Standard Deviation Factor), that consists of expanding/contracting Volatility Range Bands, Dynamic Trend Support/Resistance Bands and 2 types of Breakout Signals in a visually stunning design. The script also neatly packs in ZigZag & manual/automatic Fibonacci Retracement tools, option to filter the signals using an external filter and other useful extras like ™TradeChartist Dollar Candles and much more.
===================================================================================================================
™TradeChartist Actuator User Manual
█ Actuator Range Bands
Actuator Range Bands consists of a Mean line, an Upper Band and a Lower Band which are based on user defined Standard Deviation Factor (Default - 1.618, Min - 0.5, Max - 2). The 1.618 factor works extremely well as the unnecessary volatility data of the bands are eliminated by Actuator's logic. In my personal tests, 1.618 works consistently better than any other value in visually showcasing the true volatility range. By eliminating the unnecessary volatility data from the original non-stabilized bands, Actuator helps detect price momentum by detecting two types of breakouts.
Bands Breakout - Filtered
When the price breaks out of the upper or lower band after a trend, there is a strong possibility of a reversal especially when the volatility expansion/contraction takes place. This is detected using a built in filter with the Filtered Bands Breakout and the user can choose to use the closing price or High/Low price as the trigger for breakouts. This trade setup is very useful especially at zones where the Actuator Range Bands contract or squeeze after an expansion as shown in the OANDA:XAUUSD 1hr chart below.
Also, after a consistent expansion of the bands with price trending in the upper channel or the lower channel, users can spot good profit taking or Short trade opportunities with confirmation of overbought price and if possible a strong bear divergence as show in the BINANCE:LUNAUSDTPERP 1hr chart below.
It can be seen from the chart above that even though Actuator is designed to detect Extreme Bands Breakout using High/Low price, it is done with a little bit of filtering by the script logic and hence didn't generate a Bear signal at the lower band support zone.
Mean Breakout - Filtered
In most Mean Reversion models, mostly oscillators, the mean plays an important role in helping traders predict the price dynamic, but it also presents a challenge whether that mean will act as support or resistance so the trader can take a position that will have a high probability of success. Filtered Mean Breakout helps exactly to identify the price dynamic at the mean zone and helps reduce the dilemma. Actuator uses Volatility Trend and Momentum of the price action at mean to determine Bull/Bear breakouts. Following NASDAQ:AAPL 1hr chart shows an example of 2 instances of Filtered Mean Breakout detection, one bull and one bear and further area where no Breakout was detected in spite of price crossing the mean.
This Breakout type is really helpful in spotting early moves and also reduces the high volatility risk of Extreme Bands Breakout in some cases.
===================================================================================================================
█ External Filter
Actuator breakout signals can be further filtered using the feature of connecting an external signal as a trade filter.
External filter like RSI , MACD etc. can be used to filter breakouts by connecting to ™TradeChartist Actuator under ╔═══ 𝗣𝗹𝘂𝗴 𝗙𝗶𝗹𝘁𝗲𝗿 𝗵𝗲𝗿𝗲 ═══ 🔌 dropdown by enabling 𝐔𝐬𝐞 𝐄𝐱𝐭𝐞𝐫𝐧𝐚𝐥 𝐅𝐢𝐥𝐭𝐞𝐫.
To get the external filter to work, 𝐒𝐢𝐠𝐧𝐚𝐥 𝐓𝐲𝐩𝐞 must be set right. For plots that are non oscillatory like Moving Averages, Super Trend etc., choose type as Non Oscillatory and for Oscillators like RSI , CCI , MACD etc., choose type as Oscillatory .
For Oscillators, levels must be specified for 𝐎𝐬𝐜𝐢𝐥𝐥𝐚𝐭𝐨𝐫 𝐁𝐮𝐥𝐥 𝐅𝐢𝐥𝐭𝐞𝐫 𝐯𝐚𝐥𝐮𝐞 and 𝐎𝐬𝐜𝐢𝐥𝐥𝐚𝐭𝐨𝐫 𝐁𝐞𝐚𝐫 𝐅𝐢𝐥𝐭𝐞𝐫 𝐯𝐚𝐥𝐮𝐞, especially if the Oscillator doesnt have 0 as midline, like RSI . Even for 0 mid oscillators like CCI , filter levels like 100/-100 work effectively to filter noise.
Use 𝐁𝐮𝐥𝐥/𝐁𝐞𝐚𝐫 𝐁𝐚𝐜𝐤𝐠𝐫𝐨𝐮𝐧𝐝 𝐅𝐢𝐥𝐥 under Actuator Visuals section to paint the trade zones background. It helps visually see the effect of filters on the breakout entries and also the trade performance.
The following chart shows the Filter settings with ™TradeChartist Momentum Drift Oscillator connected to Actuator as Oscillatory signal with filter values 0.
The two example charts of 1hr BINANCE:BTCUSDT below shows the difference in Actuator signals based on Oscillatory signal from ™TradeChartist Momentum Drift Oscillator and the difference can be seen from the highlighted Bull/Bear Background Fill.
Without External Filter
With External Filter
===================================================================================================================
█ Dynamic Trend Support/Resistance Bands
In addition to Volatility Range Bands, Actuator also plots Dynamic Trend Support and Resistance bands that are more sensitive to price action and helps the user determine growing support/resistance which is indicated by coloured dots. These dots normally appear when the Support or Resistance stays at the same level for a few bars and change between Bull and Bear colours based on how the price interacts with them as shown below.
===================================================================================================================
█ Useful Trade Tools
™TradeChartist Dollar Candles
Dollar Candles help detect the volatility exhaustion prices and plots $ signs to help the trader take profits or move stop loss levels to secure gains. The $ signs do not appear for every trade zone, but whenever price hits a critical level, it shows up above price bar (for Bull trend) or below price bar (for Bear trend) in real time. Users can also set alerts for Dollar Candles with Once Per Bar setting. The Daily NASDAQ:TSLA chart below shows the Dollar Candles on both Bull and Bear trends.
It is important to note that taking pockets of profits on a leveraged trade position or moving up stop loss to maximize trend gains at $ candles will help increase Average Profitability Per Trade (APPT) .
Bull/Bear Background Fill
Bull/Bear Background Fill paints the trade zones in Bull and Bear colours. This helps visualize the difference in trade zones when testing various settings and also helps analyze past performance of Actuator Signals with or without the use of External Filter.
Entry Stop Loss Reference
Reference zone for stop loss has always been a tricky one for traders. Using a fixed percentage stop at entry may not be best during high volatility moves. Over the extensive period of Actuator testing, a simple solution to this problem was found. The previous trend's Range Bands Mean Line served as a perfect reference point for Entry Stop. Also while analysing this Mean line, it was found to be a perfect horizontal support/resistance line and also helped detect unproductive trades. The example 15m chart of NASDAQ:AMD shows how the Entry Stop Loss Reference performed.
Stop Line Touch Points plot orange touch points on the Stop Line whenever the price hits it during the trade.
Actuator Colour Bars
Actuator Colour Bars paints the Momentum Strength on the price bars. This helps visually see the price bars venturing into the Overbought or the Oversold zones. Also, this feature also helps spot divergences as higher highs or lower lows with less intense Bull/Bear colour than the previous high/low shows diminishing momentum as shown in the 1h chart of OANDA:GBPJPY below.
===================================================================================================================
█ ZigZag & Fibonacci Toolkit
Actuator plots developing and completed ZigZags based on Bull and Bear trend depending on the Breakout Type and Breakout Price from the settings.
Option to enable or disable 𝐙𝐢𝐠𝐙𝐚𝐠 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐨𝐫 which can be helpful for Harmonic traders.
Option to display 𝐙𝐢𝐠𝐙𝐚𝐠 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 and 𝐑𝐒𝐈 𝐚𝐭 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 in one of two styles.
Two types of Fibonacci to choose from - 𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 and 𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤.
𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 option plots Auto Fibonacci levels based on Bull/Bear trend depending on user specified Breakout Type and Breakout Price.
𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤 plots Fibonacci levels based on the highest high and lowest low of the lookback period (𝐃𝐚𝐲𝐬 or 𝐂𝐚𝐧𝐝𝐥𝐞𝐬).
Fibonacci levels can be reversed by enabling 𝐑𝐞𝐯𝐞𝐫𝐬𝐞 from settings.
Enabling 𝐂𝐮𝐫𝐫𝐞𝐧𝐭 𝐏𝐫𝐢𝐜𝐞 𝐅𝐢𝐛 𝐋𝐚𝐛𝐞𝐥 displays the current Fib level of the developing price bar.
Option to customize Fib levels and colours.
4hr chart of BINANCE:BTCUSDT showing Auto Fibonacci levels, Zig-Zag with Trend High/Lows, Zig-Zag connectors with Fib Ratios and RSI at Trend High/Low prices.
Note:
If momentum doesn't slow down, the fibs can extend beyond 1 and may continue way beyond 4.618 fib level. These are quite rare depending on how distant the near high/low is based.
ZigZag and Fibonacci are good reference indicators and should always be used as confirmations rather than standalone indicators.
===================================================================================================================
█ Actuator Colour Scheme
Actuator employs 3 built in colour schemes namely Chilli , Flame and Sublime Grayscale and a versatile colour scheme Custom which enables the user to customise the colour combinations of the components of the Actuator script.
===================================================================================================================
█ Alerts
Alerts can be created for the following.
Actuator Bull Breakout Signal - Once Per Bar Close
Actuator Bear Breakout Signal - Once Per Bar Close
Actuator Long Dollar - Take Profit - Once Per Bar
Actuator Short Dollar - Take Profit - Once Per Bar
Actuator Stop Line Hit - Once Per Bar
Note: The script doesn't repaint, so the alerts can be used with confidence. To check this, users can do bar replays to check if the plots and markers stay in the same place.
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
Modified ATR Indicator [KL]Modified Average True Range (ATR) Indicator
This indicator displays the ATR with relative highs and relative lows statistically determined.
What is ATR:
To know what ATR is, we need to understand what a True Range (TR) is.
- TR at a given bar is the highest distance between points: a) High vs low, b) High vs Close, and c) Low vs Close.
- ATR is the moving average of TRs over a predefined lookback period; 14 is the most commonly used.
- ATR can be mathematically expressed as:
Why is ATR Important
ATR often used to measure volatility; high volatility is indicated by high ATR, vice versa for low. This is a versatile tool allowing traders to determine entry/exit points, as well as the size of stop losses and when to take profits relative to it.
This is an opinion: Through observations, I have noticed that ATR can also indirectly tell us the levels of relative volume. This intuitively makes sense because in order to increase length of TR, high amounts of capital inflow/outflow is required (graphically speaking, high volume is required in order to make lengths of candle sticks longer). The relationship between ATR and relative volume should hold unless the market is illiquid to the extreme that there is no relationship between volume and price.
That said, knowing the relative lows/highs of ATR is very useful. It can be interpreted as:
- Relative high = high volatility, usually during sell offs
- Relative low = decreasing volume, could indicate price consolidation
Instead of arbitrarily determining whether ATR is high/low, this indicator will determine relative highs and relative lows using a simple statistical model.
How relative high/low is determined by this model
This indicator applies two-tailed hypothesis testing to test whether ATR (ie. say lookback of 14) has greatly deviated from a larger sample size (ie. lookback of 50). Assuming ATR is normally distributed and variance is known, then test statistic (z) can be used to determine whether ATR14 is within the critical area under Null Hypothesis: ATR14 == ATR50. If z falls below/above the left/right critical values (ie. 1.645 for a 90% confidence interval), then this is shown by the indicator through using different colors to plot the ATR line.
PowerHouse SwiftEdge AI v2.10 with Custom Filters & AI AnalysisPowerHouse SwiftEdge AI v2.10 with Custom Filters & AI Analysis
Overview
PowerHouse SwiftEdge AI v2.10 is an advanced TradingView Pine Script indicator designed to identify high-probability trading setups by combining pivot-based structure analysis, multi-timeframe trend detection, and adaptive AI-driven signal filtering. The script integrates Change of Character (CHoCH) and Break of Structure (BOS) signals with customizable momentum, volume, breakout, and trend filters to enhance trade precision. Additionally, it offers an optional AI Market Analysis module that predicts future price trends across multiple timeframes, providing traders with a comprehensive market outlook.
The script is highly customizable, allowing users to tailor inputs to their trading style, whether for scalping, swing trading, or long-term strategies. It is suitable for all asset classes, including stocks, forex, crypto, and commodities, and performs optimally on timeframes ranging from 1-minute to daily charts.
Key Features
Pivot-Based Signal Generation:
Identifies pivot highs and lows to detect CHoCH (reversal patterns) and BOS (continuation patterns).
Signals are plotted as "Buy" or "Sell" labels with optional "Get Ready" pre-signals to prepare traders for potential setups.
Take-profit (TP) levels are automatically calculated based on user-defined points, with optional TP box visualization.
Multi-Timeframe Trend Analysis:
Analyzes trends across seven timeframes (1M, 5M, 15M, 30M, 1H, 4H, D) using EMA and VWAP to determine bullish, bearish, or neutral conditions.
Displays a futuristic AI-Trend Matrix dashboard showing trend direction, strength, and confidence levels for quick decision-making.
Customizable Signal Filters:
Momentum Filter: Ensures signals align with significant price changes, adjusted dynamically using ATR-based volatility.
Higher Timeframe Trend Filter: Requires signals to align with the trend of a user-selected higher timeframe (e.g., 1H).
Lower Timeframe Trend Filter: Prevents signals that conflict with the trend of a user-selected lower timeframe (e.g., 5M).
Volume Filter: Optionally requires above-average volume to confirm signals.
Breakout Filter: Optionally requires price to break previous highs/lows for signal validation.
Repeated Signal Restriction: Prevents consecutive signals in the same trend direction until the trend changes on a user-defined timeframe.
AI-Driven Adaptivity:
Incorporates Cumulative Volume Delta (CVD) to assess buying/selling pressure and classify market volatility (Low, Medium, High).
Uses ATR to dynamically adjust momentum thresholds, ensuring signals adapt to current market conditions.
Optional AI Market Analysis module predicts trends across multiple timeframes by combining trend, momentum, and volatility scores.
Visual Elements:
Plots CHoCH and BOS levels as horizontal lines with distinct colors (aqua for CHoCH sell, lime for CHoCH buy, fuchsia for BOS sell, teal for BOS buy).
Draws dynamic support and resistance trendlines based on short and long-term price action, colored by trend strength.
Displays TP levels and pivot highs/lows for easy reference.
How It Works
The script combines several technical analysis concepts to create a robust trading system:
Market Structure Analysis:
Pivot highs and lows are identified using a user-defined lookback period (Pivot Length).
CHoCH occurs when price crosses below a pivot high (bearish reversal) or above a pivot low (bullish reversal).
BOS occurs when price breaks a previous pivot low (bearish continuation) or pivot high (bullish continuation).
Trend and Momentum Integration:
Trends are determined by comparing price to EMA and VWAP on multiple timeframes.
Momentum is calculated as the percentage price change, with thresholds adjusted by ATR to account for volatility.
"Get Ready" signals appear when momentum approaches the threshold, preparing traders for potential CHoCH or BOS signals.
Signal Filtering:
Filters ensure signals align with user-defined criteria (e.g., trend direction, volume, breakouts).
The Restrict Repeated Signals option prevents over-signaling by requiring a trend change on a specified timeframe before generating a new signal in the same direction.
AI Market Analysis:
The optional AI module calculates a score for each timeframe based on trend direction, momentum, and volatility (ATR compared to its SMA).
Scores are translated into predictions (▲ for bullish, ▼ for bearish, — for neutral), displayed in a dedicated table.
CVD and Volatility Context:
CVD tracks buying vs. selling pressure by accumulating volume based on price direction.
Volatility is classified using CVD magnitude, influencing the script’s visual cues and signal sensitivity.
Why This Combination?
The integration of pivot-based structure analysis, multi-timeframe trend filtering, and AI-driven adaptivity addresses common trading challenges:
Precision: CHoCH and BOS signals focus on key market turning points, reducing noise from minor price fluctuations.
Context: Multi-timeframe analysis ensures trades align with broader market trends, improving win rates.
Adaptivity: ATR and CVD adjustments make the script responsive to changing market conditions, avoiding static thresholds that fail in volatile or quiet markets.
Customization: Extensive input options allow traders to adapt the script to their preferred markets, timeframes, and risk profiles.
Predictive Insight: The AI Market Analysis module provides forward-looking trend predictions, helping traders anticipate market moves.
This combination creates a self-contained system that balances responsiveness with reliability, making it suitable for both novice and experienced traders.
How to Use
Add to Chart:
Apply the indicator to your TradingView chart for any asset and timeframe.
Recommended timeframes: 5M to 1H for scalping/day trading, 4H to D for swing trading.
Configure Inputs:
Pivot Length: Adjust (default 5) to control sensitivity to pivot highs/lows. Lower values for faster signals, higher for stronger confirmations.
Momentum Threshold: Set the minimum price change (default 0.01%) for signals. Increase for stricter conditions.
Take Profit Points: Define TP distance (default 10 points). Adjust based on asset volatility.
Signal Filters: Enable/disable filters (momentum, trend, volume, breakout) to match your strategy.
Higher/Lower Timeframe: Select timeframes for trend alignment (e.g., 1H for higher, 5M for lower).
AI Market Analysis: Enable for predictive trend insights across timeframes.
Get Ready Signals: Enable to see pre-signals for potential setups.
Interpret Signals:
Buy/Sell Labels: Act on green "Buy" or red "Sell" labels, confirming with TP levels and trend direction.
Get Ready Labels: Yellow "Get Ready BUY" or orange "Get Ready SELL" indicate potential setups; prepare but wait for confirmation.
CHoCH/BOS Lines: Use aqua/lime (CHoCH) and fuchsia/teal (BOS) lines as key support/resistance levels.
AI-Trend Matrix: Check the top-right dashboard for trend strength (%), confidence (%), and timeframe-specific trends.
AI Market Analysis Table: If enabled, view predictions (▲/▼/—) for each timeframe to anticipate market direction.
Trading Tips:
Combine signals with other indicators (e.g., RSI, MACD) for additional confirmation.
Use higher timeframe trend alignment for higher-probability trades.
Adjust TP and signal distance based on asset volatility and trading style.
Monitor the AI-Trend Matrix for trend strength; values above 50% or below -50% indicate strong directional bias.
Originality
PowerHouse SwiftEdge AI v2.10 stands out due to its unique blend of:
Adaptive Signal Generation: ATR-based momentum thresholds and CVD-driven volatility context ensure signals remain relevant across market conditions.
Multi-Timeframe Synergy: The script’s ability to filter signals based on both higher and lower timeframe trends provides a rare balance of precision and context.
AI-Powered Insights: The AI Market Analysis module offers predictive capabilities not commonly found in traditional indicators, simulating institutional-grade analysis.
Visual Clarity: The futuristic dashboard and color-coded trendlines make complex data accessible, enhancing usability for all trader levels.
Unlike standalone pivot or trend indicators, this script integrates multiple layers of analysis into a cohesive system, reducing false signals and providing actionable insights without requiring external tools or research.
Limitations
False Signals: No indicator is foolproof; signals may fail in choppy or low-volume markets. Use filters to mitigate.
Timeframe Sensitivity: Performance varies by timeframe and asset. Test settings thoroughly.
AI Predictions: The AI Market Analysis is based on historical data and simplified scoring; it’s not a guaranteed forecast.
Resource Usage: Enabling all filters and AI analysis may slow performance on lower-end devices.
Double Top/BottomHere is an attempt to identify double top/bottom based on pivot high/lows.
Logic is simple.
Double Bottom:
Last two pivot High Lows make W shape
Last Pivot Low is higher than previous Last Pivot Low.
Last Pivot High is lower than previous last Pivot High.
Price has not gone below Last Pivot Low
Price breaks out of last Pivot High to complete W shape
Double Top:
Last two pivot High Lows make M shape
Last Pivot Low is higher than previous Last Pivot Low.
Last Pivot High is lower than previous last Pivot High.
Price has not gone above Last Pivot High
Price breaks out of last Pivot Low to complete M shape
Prameters:
Parameters PvtLenL , PvtLenR and waitforclose determines pivot points.
FilterPivots clears repetitive pivots formed in same direction before calculating the possible double top/bottom.
For example:
CheckForAbsolutePeaks and AbsolutePeakLoopback works together. When CheckForAbsolutePeaks is enabled, script only generates double bottom or top signal if previous last pivot is absolute high or low for AbsolutePeakLoopback periods.
ConsiderMovingAverage does two things. First, it makes sure that fast moving average and slow moving averages are aligned with the direction we are going to forecast. Second, it makes sure that the crossover happend recently and with last BarCrossoverLimit bars. For example, to call it double bottom, Fast MA should be higher than Slow MA and crossover of FastMA above SlowMA should have happened in last 10 bars (BarCrossoverLimit)
PivotDisplayMode can be Actual, Filtered or None. Actual will display all pivot high low generated. Filtered will only display last 5 pivot high and pivot lows which are filtered . That means, it will remove the repetitive pivots formed without making pivots on the other side.
Welcome and suggestions and feedbacks.
TTT_Swing_and_Orderblock_Ver_1.0.2Hello, dear traders from all over the world! This is Tommy from Tommy Trading Team.
Many inquires were delivered to us from traders recently wishing to use one of our cutting-edge technologies that was developed days ago and was only used by us. We have edited and supplemented this indicator both logically and visually. Accordingly, our team is officially launching with a new brought up name, which is “SOB(Version1.0.2), shorten for “Swing & OB(Orderblock).”
This technical indicator is quite straightforward and effective to utilize since it shows traders the essential variables that are considered by many recently developed theories and state-of-the-art methodologies. And they are ‘Dow’ and ‘Orderblock’.
Swing High and Low (Dow Theory) has been applied fundamentally by many other theories and methodologies such as Elliott wave theory and SR Flip techniques. A swing can be interpreted as a wave with a trend composed of a high and a low each. After succeeding on making significant highs/lows, in any existing wave theories, it is essential to monitor and spot when the next waves make HH(Higher high), LH(Lower high), HL(Higher low), or LL(Lower low).
OB(Orderblock) technique is a very advanced methodology that captures the contraction, consolidation, and attraction zone. This so called ‘zone’ is interpreted differently by various stakeholders, such as institutional(whales) average entry/exit price range or peak price range with higher traded volumes. In TA perspective, it’s just a major support/resistance to consider and when this zone fails to support/resist, the price momentum tends to boost up towards the direction it failed. To give you a little tip, look for the spots usually forming horizontal parallel channel, before a big wave with a clear trend (whether up or down) appears. There are numerous ways to identify OB and we have concluded that signaling the double engulfing candles is one of the highly effective one.
As just mentioned, comprehending a trend utilizing ‘Swing HL’ is fundamental and yet definite TA concept and strategy. Furthermore, OB can also be useful to spot major support and resistance area. SOB automatically identify and captures major Highs, Lows, and OBs. In addition, SOB can let traders know when the highs and lows are being replaced by higher/lower highs/lows by changing pivots color. If you are familiar with SR(Support and Resistance) Flip concept, this can be a helpful tool for you since it can signal when highs/lows are being broken above/below and by planning a retest entry trading setup.
If you would like to try SOB_ver1.0.2, please let us know through comments, DM, or Telegram in English/Korean. I assure you that our SOB won’t disappoint you on your trading chart.
Thank you.
안녕하세요. 트레이더 여러분!
토미 트레이딩 팀입니다~
최근에 저희 팀이 개인적으로 사용했던 지표에 관해서 많은 분들이 문의를 주셨습니다. 약간의 보안 및 개선 작업 이후에 SOB(Version1.0.2)이라는 이름으로 정식 출시합니다.
해당 알고리즘은 기존의 여러 이론 및 방법론들에게 원천적으로 기반이 되는 다우이론(스윙 고/저점)과 오더블럭(OB)을 바로바로 잡아주기 때문에 주요 고/저점과 매물대 지지/저항 컨펌하는 용도로 활용하기 매우 유용합니다.
변동하는 가격의 흐름, 즉 추세를 파악하는 방법은 수만가지가 있습니다. 단 하나의 방법, 지표, 혹은 이론만 가지고 추세를 파악하는 건 당연히 바보 같은 짓이겠죠. 여러가지의 요소들을 복합적으로 봐야하는데 그 중에 가장 근본적이면서 중요한 게 바로 다우이론이라고 생각합니다. 이름만 거창하지 정말 별거 없습니다. 한문장으로 “전 고/저점에 비해서 이번에 나오는 고/저점이 높아졌냐 낮아졌냐”입니다. 다우 이론은 엘리엇 파동 이론 및 SR Flip 전략 등 대부분들의 기법들에 적용된 만큼 차트 보시려면 꼭 알아야 되는 개념입니다. 스윙이란 변곡이 나오기 전까지의 가격 흐름, 즉 하나의 파동이라고 생각하시면 되겠습니다. 주요 고/저점은 통상적으로 하나의 파동을 규명하기 위해 참고하는 기준들입니다. 고/저점 혹은 변곡점이 출현하고 나서 후행적으로 우리는 전 상승/하락 파동이었다고 인지를 합니다. 여기서 중요한 건 다음 파동이 전 파동보다 고/저점을 높였냐/낮추었냐입니다. 고/저점을 높여가는 파동이 나오면 상승, 낮추어가는 파동이 나오면 하락 추세에 가중을 더 두고, 고/저점을 높이다가 내리기 시작하면 혹은 내리다가 높이기 시작하면 추세가 어느정도 전환될 수 있는 시그널로 해석할 수 있습니다.
OB(오더블럭) 기법은 요즘 장에 그나마 잘 먹히는 가격매물대를 찾는 방법론 중 하나입니다. 매물대란 다양한 시장참여자들에 따라 시시각각 해석될 수 있습니다. 기관(세력)들의 매집구간, 많은 참여자들의 평균 진입/청산/평단 가격 범위, 혹은 시체 쌓인 구간으로도 해석해볼 수 있습니다. 더 쉽게 설명해드리자면 거래량이 상대적으로 많은 가격 범위대라고 보시면 되겠습니다. 기술적분석 관점에서는 매물대를 주요 지지/저항구간대라고 고려하실 수 있으며 지지/저항을 실패하면, 그 실패한 방향으로 추세가 터질 가능성을 두고 전략 설계에 활용합니다. 매물대를 효과적으로 찾을 수 있는 팁 하나를 드리자면, 어느정도 명확하고 큰 추세가 나오기 전에 형성된 수평 평행 채널들을 먼저 의심해보세요. 만약에 해당 가격범위 내에 OB가 많이 내포되어 있다면 신빙성을 더 부여하실 수 있습니다. 이렇게 OB는 매물대를 식별하고 컨펌하는 용도로 매우 용이하게 활용될 수 있으며, 요즘에 유행하는 기법인 마스터패턴에도 찰떡궁합입니다. OB를 정의하는 여러가지 기법들 중 캔들봉을 활용한 방법이 그나마 가장 효과적이며 저희 개발팀은 장악형(Engulfing) 패턴이 두번 이상 출현하는 캔들봉들의 몸통들을 기준으로 OB를 찾는 로직을 지표화했습니다.
언급 드렸듯, 다우이론은 기술적 분석 기법 중 가장 근본적이면서도 동시에 실용도가 높아 차트 보시려면 무조건 숙지해야하는 개념 및 전략입니다. 또한 상대적으로 최근 시장에 효율적인 매물대 색출 전략 중 하나인 OB기법으로 주요 지지/저항으로 해석될 수 있는 메이저 매물대들의 가격 범위를 더 세분화시킬 수 있습니다. 저희 SOB 지표는 주요 고점, 저점, 그리고 OB들을 자동으로 피봇으로 잡아줄뿐더러 주요 고/저점이 뚫렸을 때, 해당 피봇의 색깔들이 변경됩니다. SR Flip (저항선이 뚫리면 지지선, 지지선이 뚫리면 저항선)개념 및 전략을 자주 활용하시는 트레이더분들은 고/저점 뚫릴 때, 즉 더 높은/낮은 고/저점이 출현하고 나서 전 고/저점을 활용해 리테스트 진입 자리 찾으실 때 유용하게 사용하실 수 있습니다.
저희 SOB_Version1.0.2 지표를 사용하고 싶으신 분들은 댓글, DM, 또는 저희 개인 채널에 문의 주십시오. 차트와 캔들 위에서만큼은 우리 SOB이 여러분들을 실망시키지 않을 것입니다.
감사합니다. 성투하세요.
Relative Volume at Time█ OVERVIEW
This indicator calculates relative volume, which is the ratio of present volume over an average of past volume.
It offers two calculation modes, both using a time reference as an anchor.
█ CONCEPTS
Calculation modes
The simplest way to calculate relative volume is by using the ratio of a bar's volume over a simple moving average of the last n volume values.
This indicator uses one of two, more subtle ways to calculate both values of the relative volume ratio: current volume:past volume .
The two calculations modes are:
1 — Cumulate from Beginning of TF to Current Bar where:
current volume = the cumulative volume since the beginning of the timeframe unit, and
past volume = the mean of volume during that same relative period of time in the past n timeframe units.
2 — Point-to-Point Bars at Same Offset from Beginning of TF where:
current volume = the volume on a single chart bar, and
past volume = the mean of volume values from that same relative bar in time from the past n timeframe units.
Timeframe units
Timeframe units can be defined in three different ways:
1 — Using Auto-steps, where the timeframe unit automatically adjusts to the timeframe used on the chart:
— A 1 min timeframe unit will be used on 1sec charts,
— 1H will be used for charts at 1min and less,
— 1D will be used for other intraday chart timeframes,
— 1W will be used for 1D charts,
— 1M will be used for charts at less than 1M,
— 1Y will be used for charts at greater or equal than 1M.
2 — As a fixed timeframe that you define.
3 — By time of day (for intraday chart timeframes only), which you also define. If you use non-intraday chart timeframes in this mode, the indicator will switch to Auto-steps.
Relative Relativity
A relative volume value of 1.0 indicates that current volume is equal to the mean of past volume , but how can we determine what constitutes a high relative volume value?
The traditional way is to settle for an arbitrary threshold, with 2.0 often used to indicate that relative volume is worthy of attention.
We wanted to provide traders with a contextual method of calculating threshold values, so in addition to the conventional fixed threshold value,
this indicator includes two methods of calculating a threshold channel on past relative volume values:
1 — Using the standard deviation of relative volume over a fixed lookback.
2 — Using the highs/lows of relative volume over a variable lookback.
Channels calculated on relative volume provide meta-relativity, if you will, as they are relative values of relative volume.
█ FEATURES
Controls in the "Display" section of inputs determine what is visible in the indicator's pane. The next "Settings" section is where you configure the parameters used in the calculations. The "Column Coloring Conditions" section controls the color of the columns, which you will see in three of the five display modes available. Whether columns are plotted or not, the coloring conditions also determine when markers appear, if you have chosen to show the markers in the "Display" section. The presence of markers is what triggers the alerts configured on this indicator. Finally, the "Colors" section of inputs allows you to control the color of the indicator's visual components.
Display
Five display modes are available:
• Current Volume Columns : shows columns of current volume , with past volume displayed as an outlined column.
• Relative Volume Columns : shows relative volume as a column.
• Relative Volume Columns With Average : shows relative volume as a column, with the average of relative volume.
• Directional Relative Volume Average : shows a line calculated using the average of +/- values of relative volume.
The positive value of relative volume is used on up bars; its negative value on down bars.
• Relative Volume Average : shows the average of relative volume.
A Hull moving average is used to calculate the average used in the three last display modes.
You can also control the display of:
• The value or relative volume, when in the first three display modes. Only the last 500 values will be shown.
• Timeframe transitions, shown in the background.
• A reminder of the active timeframe unit, which appears to the right of the indicator's last bar.
• The threshold used, which can be a fixed value or a channel, as determined in the next "Settings" section of inputs.
• Up/Down markers, which appear on transitions of the color of the volume columns (determined by coloring conditions), which in turn control when alerts are triggered.
• Conditions of high volatility.
Settings
Use this section of inputs to change:
• Calculation mode : this is where you select one of this indicator's two calculation modes for current volume and past volume , as explained in the "Concepts" section.
• Past Volume Lookback in TF units : the quantity of timeframe units used in the calculation of past volume .
• Define Timeframes Units Using : the mode used to determine what one timeframe unit is. Note that when using a fixed timeframe, it must be higher than the chart's timeframe.
Also, note that time of day timeframe units only work on intraday chart timeframes.
• Threshold Mode : Five different modes can be selected:
— Fixed Value : You can define the value using the "Fixed Threshold" field below. The default value is 2.0.
— Standard Deviation Channel From Fixed Lookback : This is a channel calculated using the simple moving average of relative volume
(so not the Hull moving average used elsewhere in the indicator), plus/minus the standard deviation multiplied by a user-defined factor.
The lookback used is the value of the "Channel Lookback" field. Its default is 100.
— High/Low Channel From Beginning of TF : in this mode, the High/Low values reset at the beginning of each timeframe unit.
— High/Low Channel From Beginning of Past Volume Lookback : in this mode, the High/Low values start from the farthest point back where we are calculating past volume ,
which is determined by the combination of timeframe units and the "Past Volume Lookback in TF units" value.
— High/Low Channel From Fixed Lookback : In this mode the lookback is fixed. You can define the value using the "Channel Lookback" field. The default value is 100.
• Period of RelVol Moving Average : the period of the Hull moving average used in the "Directional Relative Volume Average" and the "Relative Volume Average".
• High Volatility is defined using fast and slow ATR periods, so this represents the volatility of price.
Volatility is considered to be high when the fast ATR value is greater than its slow value. Volatility can be used as a filter in the column coloring conditions.
Column Coloring Conditions
• Eight different conditions can be turned on or off to determine the color of the volume columns. All "ON" conditions must be met to determine a high/low state of relative volume,
or, in the case of directional relative volume, a bull/bear state.
• A volatility state can also be used to filter the conditions.
• When the coloring conditions and the filter do not allow for a high/low state to be determined, the neutral color is used.
• Transitions of the color of the volume columns determined by coloring conditions are used to plot the up/down markers, which in turn control when alerts are triggered.
Colors
• You can define your own colors for all of the oscillator's plots.
• The default colors will perform well on light or dark chart backgrounds.
Alerts
• An alert can be defined for the script. The alert will trigger whenever an up/down marker appears in the indicator's display.
The particular combination of coloring conditions and the display settings for up/down markers when you create the alert will determine which conditions trigger the alert.
After alerts are created, subsequent changes to the conditions controlling the display of markers will not affect existing alerts.
• By configuring the script's inputs in different ways before you create your alerts, you can create multiple, functionally distinct alerts from this script.
When creating multiple alerts, it is useful to include in the alert's message a reminder of the particular conditions you used for each alert.
• As is usually the case, alerts triggering "Once Per Bar Close" will prevent repainting.
Error messages
Error messages will appear at the end of the chart upon the following conditions:
• When the combination of the timeframe units used and the "Past Volume Lookback in TF units" value create a lookback that is greater than 5000 bars.
The lookback will then be recalculated to a value such that a runtime error does not occur.
• If the chart's timeframe is higher than the timeframe units. This error cannot occur when using Auto-steps to calculate timeframe units.
• If relative volume cannot be calculated, for example, when no volume data is available for the chart's symbol.
• When the threshold of relative volume is configured to be visible but the indicator's scale does not allow it to be visible (in "Current Volume Columns" display mode).
█ NOTES
For traders
The chart shown here uses the following display modes: "Current Volume Columns", "Relative Volume Columns With Average", "Directional Relative Volume Average" and "Relative Volume Average". The last one also shows the threshold channel in standard deviation mode, and the TF Unit reminder to the right, in red.
Volume, like price, is a value with a market-dependent scale. The only valid reference for volume being its past values, any improvement in the way past volume is calculated thus represents a potential opportunity to traders. Relative volume calculated as it is here can help traders extract useful information from markets in many circumstances, markets with cyclical volume such as Forex being one, obvious case. The relative nature of the values calculated by this indicator also make it a natural fit for cross-market and cross-sector analysis, or to identify behavioral changes in the different futures contracts of the same market. Relative volume can also be put to more exotic uses, such as in evaluating changes in the popularity of exchanges.
Relative volume alone has no directional bias. While higher relative volume values always indicate higher trading activity, that activity does not necessarily translate into significant price movement. In a tightly fought battle between buyers and sellers, you could theoretically have very large volume for many bars, with no change whatsoever in bid/ask prices. This of course, is unlikely to happen in reality, and so traders are justified in considering high relative volume values as indicating periods where more attention is required, because imbalances in the strength of buying/selling power during high-volume trading periods can amplify price variations, providing traders with the generally useful gift of volatility.
Be sure to give the "Directional Relative Volume Average" a try. Contrary to the always-positive ratio widely used in this indicator, the "Directional Relative Volume Average" produces a value able to determine a bullish/bearish bias for relative volume.
Note that realtime bars must be complete for the relative volume value to be confirmed. Values calculated on historical or elapsed realtime bars will not recalculate unless historical volume data changes.
Finally, as with all indicators using volume information, keep in mind that some exchanges/brokers supply different feeds for intraday and daily data, and the volume data on both feeds can sometimes vary quite a bit.
For coders
Our script was written using the PineCoders Coding Conventions for Pine .
The description was formatted using the techniques explained in the How We Write and Format Script Descriptions PineCoders publication.
Bits and pieces of code were lifted from the MTF Selection Framework and the MTF Oscillator Framework , also by PineCoders.
█ THANKS
Thanks to dgtrd for suggesting to add the channel using standard deviation.
Thanks to adolgov for helpful suggestions on calculations and visuals.
Look first. Then leap.
LuxAlgo® - Price Action Concepts™Price Action Concepts™ is a first of it's kind all-in-one indicator toolkit which includes various features specifically based on pure price action.
Order Blocks w/ volume data, real-time market structure (BOS, CHoCH, EQH/L) w/ 'CHoCH+' being a more confirmed reversal signal, a MTF dashboard, Trend Line Liquidity Zones (real-time), Chart Pattern Liquidity Zones, Liquidity Grabs, and much more detailed customization to get an edge trading price action automatically.
Many traders argue that trading price action is better than using technical indicators due to lag, complexity, and noisy charts. Popular ideas within the trading space that cater towards price action trading include "trading like the banks" or "Smart Money Concepts trading" (SMC), most prominently known within the forex community.
What differentiates price action trading from others forms of technical analysis is that it's main focus is on raw price data opposed to creating values or plots derived from price history.
Mostly all of the features within this script are generated purely from price action, more specifically; swing highs, swing lows, and market structure... which allows users to automate their analysis of price action for any market / timeframe.
🔶 FEATURES
This script includes many features based on Price Action; these are highlighted below:
Market structure (BOS, CHoCH, CHoCH+, EQH/L) (Internal & Swing) multi-timeframe
Volumetric Order Blocks & mitigation methods (bullish & bearish)
Liquidity Concepts
Trend Line Liquidity Zones
Chart Pattern Liquidity
Liquidity Grabs Feature
Imbalance Concepts MTF w/ multiple mitigation methods
Fair Value Gaps
Balanced Price Range
Activity Asymmetry
Strong/Weak Highs & Lows w/ volume percentages
Premium & Discount Zones included
Candle Coloring based on market structure
Previous Highs/Lows (Daily, Monday's, Weekly, Monthly, Quarterly)
Multi-Timeframe Dashboard (15m, 1h, 4h, 1d)
Built-in alert conditions & Any Alert() Function Call Conditions
Advanced Alerts Creator to create step-by-step alerts with various conditions
+ more (see changelog below for current features)
🔶 BASIC DEMONSTRATION
In the image above we can see a demonstration of the market structure labeling within this indicator. The automatic BOS & CHoCH labels on top of dashed lines give clear indications of breakouts & reversals within the internal market structure (short term price action). The "CHoCH+" label is also demonstrated as it triggers only if price has already made a new higher low, or lower high.
We can also see a solid line with a larger BOS label in the middle of the chart. This label demonstrates a break of structure taking into account the swing market structure (longer term price action). All of these labels are generated in real-time.
🔶 USAGE & EXAMPLES
In the image below we can see how a trade setup could be created using Order Blocks w/ volume metrics to find points of interest in the market, swing / internal market structure to get indications of longer & shorter term reversals, and trend line liquidity zones to find more likely impulses & breakouts within trends.
We can see in the next image below that price came down to the highest volume order block marked out previously as our point of interest for an entry used in confluence with the overall market structure being bullish (swing CHoCH). Due to price closing below the middle Order Block at (24.77%), we saw it was mitigated, and then price revisited liquidity above the Trend Line zone above, leading us to the first Order Block as a target.
You will notice the % values adjust as Order Blocks are touched & mitigated, aligning with the correct volume detected when the Order Block was established.
In the image below we can see more features from within Price Action Concepts™ indicator, including Chart Pattern Liquidity, Fair Value Gaps (one of many Imbalance Concepts), Liquidity Grabs, as well as the primary market structures & OBs.
By using multiple features as such, users can develop a greater interpretation of where liquidity rests in the market, which allows them to develop trading plans a lot easier. Liquidity Grabs are highlighted as blue/red boxes on the wicks during specific price action that indicates the market has made an impulse specifically to take out resting buy or sell side orders.
We can notice in the trade demonstrated below (hindsight example) how price often moves to the areas of the most liquidity, even if unexpected according to classical technical analysis performed by retail traders such as chart patterns. Wicks to take out orders above & potentially trap traders are much more noticeable with features such as these.
The Chart Patterns which can be detected include:
Ascending/Descending Wedges (Asc/Desc Wedge)
Ascending/Descending Broadening Wedges (Asc/Desc BW)
Ascending/Descending/Symmetrical Triangles (Asc/Desc/Sym Triangle)
Double Tops/Bottoms (Double Top/Double BTM)
Head & Shoulders (H&S)
Inverted Head & Shoulders (IH&S)
General support & resistance during undetected patterns
In the image below we can see more features from within the indicator, including Balanced Price Range (another imbalance method similar to FVG), Market Structure Candle Coloring, Accumulation & Distribution zones, Premium & Discount zones w/ a percentage on each zone, the MTF dashboard, as well as the Previous Daily Highs & Lows (one of many highs/lows) displayed on the chart automatically.
The colored candles use more specific market structure analysis, specifically allowing users to visualize when trends are considered "normal" or "strong". By utilizing other features alongside this market structure analysis, such as noticing price retesting the PDL level + the Equilibrium as resistance, a Balanced Price Range below price, the discount with a high 72% metric, and the MTF dashboard displaying an overall bearish structure...
...users can instantly gain a deeper interpretation of price action, make highly confluent trading plans while avoiding classical technical indicators, and use traditional retail trading concepts such as chart patterns / trend lines to their advantage in finding logical areas of liquidity & points of interest in the market.
The image below shows the previous chart zoomed in with 2 liquidity concepts re-enabled & used alongside a new range targeting the same Discount zone.
🔶 SETTINGS
Market Structure Internal: Allows the user to select which internal structures to display (BOS, CHoCH, or None).
Market Structure Swing: Allows the user to select which swing structures to display (BOS, CHoCH, or None).
MTF Scanner: See market structure on various timeframes & how many labels are active consecutively.
Equal Highs & Lows: Displays EQH / EQL labels on chart for detecting equal highs & lows.
Color Candles: Plots candles based on the internal & swing structures from within the indicator on the chart.
Order Blocks Internal: Enables Internal Order Blocks & allows the user to select how many most recent Internal Order Blocks appear on the chart as well as select a color.
Order Blocks Swing: Enables Swing Order Blocks & allows the user to select how many most recent Swing Order Blocks appear on the chart as well as select a color.
Mitigation Method: Allows the user to select how the script mitigates an Order Block (close, wick, or average).
Internal Buy/Sell Activity: Allows the user to display buy/sell activity within Order Blocks & decide their color.
Show Metrics: Allows the user to display volume % metrics within the Order Blocks.
Trend Line Liquidity Zones: Allows the user to display Trend Line Zones on the chart, select the number of Trend Lines visible, & their colors.
Chart Pattern Liquidity: Allows the user to display Chart Patterns on the chart, select the significance of the pattern detection, & their colors.
Liquidity Grabs: Allows the user to display Liquidity Grabs on the chart.
Imbalance Concepts: Allows the user to select the type of imbalances to display on the chart as well as the styling, mitigation method, & timeframe.
Auto FVG Threshold: Filter out non-significant fair value gaps.
Premium/ Discount Zones: Allows the user to display Premium, Discount , and Equilibrium zones on the chart
Accumulation / Distribution: Allows the user to display accumulation & distribution consolidation zones with an optional Consolidation Zig-Zag setting included.
Highs/Lows MTF: Displays previous highs & lows as levels on the chart for the previous Day, Monday, Week, Month, or quarter (3M).
General Styling: Provides styling options for market structure labels, market structure theme, and dashboard customization.
Any Alert() Function Call Conditions: Allows the user to select multiple conditions to use within 1 alert.
🔶 CONCLUSION
Price action trading is a widely respected method for its simplicity & realistic approach to understanding the market itself. Price Action Concepts™ is an extremely comprehensive product that opens the possibilities for any trader to automatically display useful metrics for trading price action with enhanced details in each. While this script is useful, it's critical to understand that past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.
🔶 HOW TO GET ACCESS
You can see the Author's instructions below to get instant access to this indicator & our premium suite.
Extrapolated Pivot Connector - Lets Make Support And ResistancesIntroduction
The support and resistance methodology remain the most used one in technical analysis, this is mainly due to its simplicity, and unlike lots of techniques used in technical analysis support and resistances have a certain logic, price can sometimes appear moving into a channel, support and resistances allow the trader to estimate such channel and project it into the future in order to spot points where price might reverse direction.
In this script a simple linear support and resistance indicator is proposed, the indicator is made by connecting past pivot high's/low's to more recent ones and extrapolating the resulting connection. The indicator is also able to make support and resistances by using other indicators as input.
Indicator Settings
The indicator include various settings, the first one being the length setting who determine the sensitivity of the pivot high/low detection, low values of length will detect the pivot high/low of noisy variations, while higher values will detect the pivot high/low of longer term variations.
The figure above use length = 5.
The A-High parameter determine the position of the pivot high to be used as first point of the resistance line, higher values will use oldest pivot high's as first point. The B-High parameter determine the last pivot high. A-Low and B-Low work the same way but affect the support line, a label is drawn on the chart in order to help you determine the position of A/B-High/Low.
Using Other Indicators Output As Input
The "Use Custom Source" option allow you to apply the indicator to other indicators, for example we can use a moving average of period 50 as input
Or the rsi :
Let me help you set the proposed indicator easily to indicators appearing on a separate window, for example the momentum oscillator, add the momentum oscillator to the chart, to do so click on indicator and search "momentum", click on the first result, once on the chart put your mouse pointer on the indicator title, you'll see appearing the hide, settings and delete option, at the right of delete you should see three dots which represent the "more" option, click on it and select "Add indicator on Mom" and select the extrapolated pivot indicator, you can do that by searching it, altho it might be easier to do it by adding the indicator to favorites first, you then only need to select it from your favorites.
You might see a mess on the indicator window, thats because the extrapolated pivot is still using high and low as input, go to the settings of the extrapolated pivot indicator and check "Use Custom Source", it should appear properly now.
Tips And Tricks When Using Support And Resistances
Linear support and resistances assume an approximately linear trend, if you see non linear growth in the price evolution you can use a logarithmic scale in order to have a more linear evolution. To do so right click on the the chart scale and select "Logarithmic" or use the following key shortcut "alt + l".
When applying the indicator to an oscillator centered around zero make sure to adjust the settings of the oscillator such that the peak magnitude of the oscillator is relatively constant over time.
Here a roc of period 9 has non constant peak amplitude, you can see that by looking at the position of the pivots (circles), increasing the period of the roc help capture more significant pivots high's/low's
Conclusion
In this post an indicator aiming to draw support and resistances is presented, the fact that it can be applied to any other indicator is a relatively nice option, and i hope you might make use of this feature.
The code make heavy use of the new features that where integrated on the v4 of pine, such features are really focused on making figures and labels, things i don't really work with, but it is nice to step out my short codes habits, and i don't exclude working with figures in pine in the future.
Thanks for reading !
™TradeChartist Fibonacci Plotter™TradeChartist Fibonacci Plotter is a free and easy to use script to plot Fibonacci levels, 20 EMA (20 period Exponential Moving Average) and Pivot Highs/Lows on any time frame chart on any assets like Stocks, Forex, Commodities, Cryptocurrencies etc.
Fibonacci Levels can be plotted using the following options from settings.
1. Lookback type - Candles
Calculates the High and Low price of the user input number of Candles back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of candles in the past from the current candle
2. Lookback type - Days
Calculates the High and Low price of the user input number of Days back (100 default) and plots Fibonacci Levels based on the calculated High and Low for the number of days in the past from the day of the current bar. The levels stay intact on any time frame as long as no new Highs or Lows are formed.
3. Manual Price Input
Plots Fibonacci Levels based on the user specified High and Low Price in the settings input screen. The levels stay intact on any time frame irrespective of new Highs or Lows being formed. Using this option and activating higher Fibonacci Levels like 1.272, 1.414 and 1.618 will enable the trader to keep the Levels intact and set alerts based on static higher levels for trade execution when price crosses beyond 100% retracement. On the other two lookback types, higher levels when activated will move dynamically based on new highs or lows being formed and price will never go beyond 100% level.
Example of Manual Price Input for GBP-USD on 1hr chart with higher levels is shown below:
Also the levels can be reversed by checking "Reverse Fibonacci Levels" from settings (Off by Default)
In addition to the Fibonacci plot, 20 period EMA (On by Default) and Pivot Highs/Lows (On by Default) are coded into the script as optional extras as both of these indicators will help make an informed decision in making trade decisions using Fibonacci Levels.
This is a free to use indicator. Give a thumbs up or leave a comment if you like the script
Check my 'Scripts' page to see other published scripts. Get in touch with me if you would like access to my invite-only scripts for a trial before deciding on a paid access for a period of your choice. Monthly, Quarterly, Half-Yearly and 1 Year access available on invite-only scripts along with 1hr Team Viewer intro session.
Advanced Candlestick Patterns [vitruvius]This is a very advanced indicator that detects most commonly used candlestick patterns. Please read this document carefully to understand how it works.
It is tailored to identify patterns that only have a great possibility of signaling a price movement. In other words, it can and will ignore some patterns, even though they satisfy the recognition conditions defined in the books. Candlestick patterns should also satisfy some other conditions in this indicator to be valid and you can modify those conditions.
This indicator is not only about identifying the candlestick patterns. By using the different choices, you can:
Avoid fake signals
Confirm patterns
Increase your possibility to win a trade
Reduce risk
Identify bullish/bearish movements better
Recommended Use
This indicator works best when you:
Use it in the daily time frame
Combine it with Support/Resistance areas
Note: For some candlestick patterns, you have the option of confirming the pattern with the next price action. In those cases, there will be obviously one bar delay (because it will wait for one more bar to close to confirm the pattern). However, it will mark the candlestick where it identifies the pattern and it will have ”Confirmed” in its text.
Important Note
This indicator does some serious calculations and checks for a lot of user inputs. Therefore, it might be a little slow. Please give it some time when it needs to do some computing.
MODULES
Trend Detection
Most of the patterns in this script are trend reversal patterns. So, recognition of the candlestick patterns depends heavily on the trend. In fact, even if you do not select a trend detection method, it will use the SMA method as default where it needs a certain trend in identifying a specific pattern.
It is possible to combine multiple trend detection methods. You can see how this affects the overall trend detection by enabling the background coloring.
Note: There might be some cases where a candle has a bullish/bearish confirmation of the same candlestick pattern . In those cases, the script is unable to identify the move and the user should decide if the identified pattern is bullish or bearish.
Below are the inputs of this module:
Color the background according to the trend?
If you select a trend detection method, it will color the background green for an uptrend and red for a downtrend .
Counter the trend when there is no obvious trend?
If you select multiple trend detection methods, there might be some cases where one of the methods indicates an uptrend and the other one indicates a downtrend . In that case, the script will continue with the previous trend (whatever the trend is one bar ago) by default . You can, however, reverse the trend in those cases by using this option. If you choose to reverse, you might catch the trend early .
Use MACD to detect the trend?
Use MACD to detect the trend. Whenever MACD delta is greater or equal to zero, it is an uptrend .
MACD Fast Length
Fast length of MACD.
MACD Slow Length
Slow length of MACD.
MACD Signal Smoothing
Signal smoothing value of MACD. Please note that it is set to 6 by default.
Use SMA to detect the trend?
Use SMA to detect the trend. If the price closes above the SMA line, it is an uptrend
SMA Length
Length of SMA.
Use the average price of previous candles to detect the trend?
If the average of open and close prices constantly go up for n bars that are determined by the next user input, it is an uptrend .
Number of candles to analyze
The number of bars ( n ) to analyze for the average price method.
Use the closing price of the previous candle to detect the trend?
If the difference between the current close and nth previous bar’s close is greater than the given threshold, it is an uptrend .
Position of the previous candle to analyze
Position of the bar (backward) to compare with the current close price.
Threshold for the closing price
The threshold value for closing price method.
Basic Candlestick Patterns
This module detects Doji, Spinning Top, Marubozu candlestick patterns. Also, you can set some specific options that are going to be used in all candlestick patterns.
Note: If you choose to manually enter the body height of a doji , you need to find the optimal value for different timeframes. Different timeframes have difference price action ranges.
Below are the inputs of this module:
Tolerate opening/closing price of the candle?
When a candlestick pattern needs to have a gap between two candles, you can tolerate the opening/closing prices of the one candle. This option is useful where the opening and closing prices are very close. This option is going to be used in all candlestick patterns.
Factor for tolerating opening/closing price
The more the factor is, the more the tolerance is.
Body/Height ratio for a candle to be considered as Bullish/Bearish
A bullish/bearish candle shouldn’t have too much shadow. You can use this option to determine the shadow length of a bullish/bearish bar. This option is going to be used in all candlestick patterns
Use basic candlestick pattern (Doji, Spinning Top, Marubozu)?
Detect doji, spinning top, marubozu candlestick patterns.
Manually set body of Doji?
You can manually set the body height of a doji. Otherwise, it will be calculated automatically. If you choose to use this option, then spinning top, and marubozu will also be calculated based on this.
Body of Doji
Body height of a bar to be considered as doji . Any bar with a body equal or less than the given value will be marked as doji. Only effective if you check the ”Manually set body of Doji?” option .
Verify a Doji by looking at the preceding candle?
If true, it will only mark dojis if the preceding candle is bullish or bearish.
Single Candlestick Patterns
This module detects Hammer, Hanging Man, Inverted Hammer, Shooting Star single candlestick patterns.
Below are the inputs of this module:
Confirm Single Candlestick Patterns with next closing price?
You can confirm a single candlestick pattern with the next closing price. That is, if the next candle closes above the previous one, it will confirm a bullish movement. If the next candle closes below the previous one, it will confirm a bearish movement.
Use Hammer and Hanging Man Single Candlestick Patterns?
Detect hammer and h anging man single candlestick patterns.
Use Inverted Hammer and Shooting Star Single Candlestick Patterns?
Detect inverted hammer and s hooting star single candlestick patterns.
Dual Candlestick Patterns
This module detects Engulfing, Tweezer Bottoms, Tweezer Tops, Harami, Inside Bar, Piercing Line, Dark Cloud Cover dual candlestick patterns.
Below are the inputs of this module:
Use Engulfing Dual Candlestick Pattern?
Detect engulfing dual candlestick pattern.
Validate Engulfing by comparing highs and lows?
If checked, the second bar must engulf the previous bar’s high/low also. If unchecked, the second bar should only engulf the real body of the first bar.
Use Tweezer Bottoms and Tops Dual Candlestick Patterns?
Detect tweezer bottoms and tweezer tops dual candlestick patterns.
Check the shadow equality of Tweezer Bottom and Tops?
Check if the shadows of the tweezer bars are about the same length.
Detect Harami Dual Candlestick Pattern?
Detect harami dual candlestick pattern.
Use High/Low of the second Harami candle instead of Open/Close price?
If checked, the body of the child must be within High and Low of the mother bar. Otherwise, only open/close prices will be checked.
Detect Inside Bar Dual Candlestick Pattern?
Detect inside bar dual candlestick pattern.
Treat Inside Bar as a reversal pattern?
If checked, inside bar will be treated as a bullish/bearish reversal pattern.
Check if the Inside bar formed in the upper/lower half of the Mother bar?
Check if the inside bar forms within the upper/lower body half of the mother. Then it will be treated as a bullish/bearish inside bar .
Detect the Inside Bar only if the previous candle closes outside of the Keltner channel?
This option effects identifying the inside bar . Such that, an inside bar will be detected only if the previous candle closes outside of Keltner Channel . Inside bars are effective when the market is extended and this is a nice way to check for that.
Confirm Inside Bar with the next close breaching the low/high of the inside bar?
Check if the next bar breaches inside bar’s high/low. Then it will be treated as a bullish/bearish inside bar .
Use Piercing Line and Dark Cloud Cover Dual Candlestick Patterns?
Detect Piercing Line and Dark Cloud Cover dual candlestick patterns.
Triple Candlestick Patterns
This module detects Morning Star , Evening Star, Three White Soldiers, Three Black Crows, Three Inside Up, Three Inside Down, Three Line Strike, Abandoned Baby, NR4, NR7 candlestick patterns.
Below are the inputs of this module:
Use Morning and Evening Star Triple Candlestick Pattern?
Detect morning and evening star triple candlestick patterns.
Don't allow the second candle's body to overlap with the first and third candle?
If checked, high and low of the second candle cannot overlap with the first and third candle for morning and evening star candlestick patterns.
The third candle must close beyond the midpoint of the first candle?
If checked, the third candle must close beyond the midpoint of the first candle for morning and evening star candlestick patterns.
Use Three White Soldiers and Three Black Crows Triple Candlestick Pattern?
Detect three white soldiers and three black crows triple candlestick pattern.
Compare bodies of Three White Soldiers and Three Black Crows candles?
You also have the possibility of comparing bodies of the candles in a way that every consecutive candle must have a bigger body than the previous candle.
Check if each candle (TWS&TBC) opens in the middle price range of the previous day?
You can check if each candle of three white soldiers and three black crows opens in the middle price range of the previous day.
Use Three Inside Up/Down Triple Candlestick Pattern?
Detect three inside up and three inside down triple candlestick pattern.
Check candles' bodies and closing prices for Three Inside Up/Down?
There are two different definitions for three inside up/down candlestick patterns. This option allows you to select one of those definitions. That is;
If unchecked , the second candle should make it up all the way to the midpoint of the first candle. Also, the third candle needs to close above the first candle’s high.
If checked , the second candle opens and closes within the real body of the first candle. Also, the third candle needs to close above the first candle's high.
Use Three Line Strike Candlestick Pattern?
Detect three line strike triple candlestick pattern.
Compare High/Lows instead of Open/Close for the Three Line Strike Pattern?
If checked, it will compare high/lows instead of open/close prices for the three line strike pattern.
Use Abandoned Baby Triple Candlestick Pattern?
Detect abandoned baby triple candlestick pattern. If you choose to tolerate opening and closing prices, high and low prices will also be tolerated for abandoned baby.
Use NR4 Candlestick Pattern?
Detect NR4 candlestick pattern.
Use NR7 Candlestick Pattern?
Detect NR7 candlestick pattern.
Confirm Narrow Range Candlestick Patterns with next closing price?
You can confirm NR4 and NR7 candlestick patterns with the next closing price. That way they will be identified as bullish or bearish patterns.
NOTES FROM THE AUTHOR
Please do not hesitate to contact me if you have any questions.
If you are not familiar with a specific candlestick pattern, try to google it. If you still need help, you can always contact me.
If you find a bug, or you think the indicator does not work as intended, please contact me with a screenshot of the chart. Also, please mention how you set up the user inputs.
If you have any ideas to further improve this indicator, please feel free to share it with me :)
LIKE , if you like it. SHARE if you think it would be useful for others too. FOLLOW for future updates and new indicators.
Swing FilterSwing Filter allows you to identify market swings and use the settings to filter out the noise.
The concept is the same as Pine Script's built in pivothigh() and pivotlow(), except with a command center full of controls. Do you to only see swings that are a certain amount higher or lower than their neighboring candles? Want to filter out flash-crashes or freak-spikes? Do you want to count swing-highs or lows that are formed by multiple bars? ...how many? ...how strict? Do you only want swings that are already confirmed or do you want swings that are probably about to be confirmed? You get the idea.
Swing Filter was designed to be plugged into other tools. Swings are used to figure Support and Resistance in Technical Analysis (TA), so you'll find that it is swing filter working in the background of my Support & Resistance Indicator. The creator of this indicator would be happy to help you implement Swing Filter into your workflow, and even can unlock rewiring features that allow Trading View Premium customers to use outputs from other indicators as inputs to swing filter (indicator layering).
INDICATOR SETTINGS:
SWING HIGH VISIBILITY - Show the location of all filtered swing-highs, marked with green "H"
Show Unconfirmed Swing Highs - Whereas a confirmed swing high is shown with a green H, unconfirmed swing highs are shown with an orange H. Sometimes you want to see what could become a swing high before the final right-neighboring candle closes and confirms it. As long as the final right-side candle still has a lower high, we can show an unconfirmed swing high. Once the final right-side candle closes with a lower high, then we have a confirmed swing high. When the "# of Lower Bars to Right of Swing High" setting is set to a number greater than 1, keep in mind that unconfirmed candles will only ever appear one candle prior to confirmation.
# of Lower Bars to Left of Swing High - Swing highs are calculated based on being higher than neighboring candles. How many candles do you want to check to the left-side of a swing high?
# of Lower Bars to Right of Swing High - Swing highs are calculated based on being higher than neighboring candles. How many candles do you want to check to the right-side of a swing high?
Must be This % Higher Than Left Bars - Filter out highs that aren't high enough. "0.5" would require your swing highs to be at least half a percent higher than the high of its confirming left-side bars.
Must be This % Higher Than Right Bars - Filter out highs that aren't high enough. "1" would require your swing highs to be at least one percent higher than the high of its confirming right-side bars.
Multibar Highs - # Bars Allowed to Form High - Filter out or allow highs that are formed at a transition from one bar to another. Especially on low spread exchanges like GDAX, highs may be formed by many consecutive bars, formed by persistant impenetrable buy/sell walls. When using multibar highs, they are counted as a single candle: the swing high will be marked on the right-most high of the multi-bar high, and then the left-side bars are counted from the left-most high of the multi-bar high.
Multibar Highs Strict-Mode - Some multibar highs are just the result of chance, meaning that the first candle reached it's high, went back down, then the second candle reached the same high at a later time. Strict mode will filter these out and only show multibar swing highs that were formed when a candle closed at its high and the next candle opened at its same high. How strict? It allows a one penny difference (for negligible spreads). It also doesn't care about the candles' lows, which leaves room for a future super-strict mode.
*For the complete list of settings and instructions see comments below (sorry they're listed in backwards order below, and the publishing rules won't let me put them all here (too long))
[TH] กลยุทธ์ SMC หลายกรอบเวลา (V5.2 - M15 Lead)English Explanation
This Pine Script code implements a multi-timeframe trading strategy based on Smart Money Concepts (SMC). It's designed to identify high-probability trading setups by aligning signals across three different timeframes.
The core logic is as follows:
High Timeframe (HTF) - M15: Determines the overall market direction or bias.
Medium Timeframe (MTF) - M5: Identifies potential Points of Interest (POI), such as Order Blocks or Fair Value Gaps, in alignment with the M15 bias.
Low Timeframe (LTF) - Current Chart: Looks for a specific entry trigger within the M5 POI to execute the trade.
Detailed Breakdown
## Part 1: Inputs & Settings
This section allows you to customize the indicator's parameters:
General Settings:
i_pivotLookback: Sets the lookback period for identifying pivot highs and lows on the LTF, which is crucial for finding the Change of Character (CHoCH).
M15 Bias Settings:
i_m15EmaFast / i_m15EmaSlow: These two EMA (Exponential Moving Average) values on the 15-minute chart determine the main trend. A bullish trend is confirmed when the fast EMA is above the slow EMA, and vice-versa for a bearish trend.
M5 Point of Interest (POI) Settings:
i_showM5Fvg / i_showM5Ob: Toggles the visibility of Fair Value Gaps (FVG) and Order Blocks (OB) on the 5-minute chart. These are the zones where the script will look for trading opportunities.
i_maxPois: Limits the number of POI zones drawn on the chart to keep it clean.
LTF Entry Settings:
i_entryMode:
Confirmation: The script waits for a Change of Character (CHoCH) on the LTF (your current chart) after the price enters an M5 POI. A CHoCH is a break of a recent pivot high (for buys) or pivot low (for sells), suggesting a potential reversal. This is the safer entry method.
Aggressive: The script triggers an entry as soon as the price touches the 50% level of the M5 POI, without waiting for a CHoCH. This is higher risk but can provide a better entry price.
i_showChoch: Toggles the visibility of the CHoCH confirmation lines.
Trade Management Settings:
i_tpRatio: Sets the Risk-to-Reward Ratio (RRR) for the Take Profit target. For example, a value of 2.0 means the Take Profit distance will be twice the Stop Loss distance.
i_slMode: (New in V5.2) Provides four different methods to calculate the Stop Loss:
POI Zone (Default): Places the SL at the outer edge of the M5 POI zone.
Last Swing: Places the SL at the most recent LTF swing high/low before the entry.
ATR: Uses the Average True Range (ATR) indicator to set a volatility-based SL.
Previous Candle: Places the SL at the high or low of the candle immediately preceding the entry. This is the tightest and riskiest option.
i_maxHistory: Sets the number of past trades to display on the chart.
## Part 2: Data Types & Variables
This section defines custom data structures (type) to organize information:
Poi: A structure to hold all information related to a single Point of Interest, including its price boundaries, direction (bullish/bearish), and whether it has been mitigated (touched by price).
Trade: A structure to store details for each trade, such as its entry price, SL, TP, result (Win/Loss/Active), and chart objects for drawing.
## Part 3: Core Logic & Calculations
This is the engine of the indicator:
Data Fetching: It uses request.security to pull EMA data from the M15 timeframe and candle data (high, low, open, close) from the M5 timeframe.
POI Identification: The script constantly scans the M5 data for FVG and OB patterns. When a valid pattern is found that aligns with the M15 bias (e.g., a bullish OB during an M15 uptrend), it's stored as a Poi and drawn on the chart.
Entry Trigger:
It checks if the price on the LTF enters a valid (unmitigated) POI zone.
Based on the selected i_entryMode, it either waits for a CHoCH or enters aggressively.
Once an entry condition is met, it calculates the SL based on the i_slMode, calculates the TP using the i_tpRatio, and creates a new Trade.
Trade Monitoring: For every active trade, the script checks on each new bar if the price has hit the SL or TP level. When it does, the trade's result is updated, and the visual boxes are finalized.
## Part 5: On-Screen Display
This part creates the Performance Dashboard table shown on the top-right of the chart. It provides a real-time summary of:
M15 Bias: Current market direction.
Total Trades: The total number of completed trades from the history.
Win Rate: The percentage of winning trades.
Total R-Multiple: The cumulative Risk-to-Reward multiple (sum of RRR from wins minus losses). A positive value indicates overall profitability.
🇹🇭 คำอธิบายและข้อแนะนำภาษาไทย
สคริปต์นี้เป็น Indicator สำหรับกลยุทธ์การเทรดแบบ Smart Money Concepts (SMC) ที่ใช้การวิเคราะห์จากหลายกรอบเวลา (Multi-Timeframe) เพื่อหาจุดเข้าเทรดที่มีความเป็นไปได้สูง
หลักการทำงานของ Indicator มีดังนี้:
Timeframe ใหญ่ (HTF) - M15: ใช้กำหนดทิศทางหลักของตลาด หรือ "Bias"
Timeframe กลาง (MTF) - M5: ใช้หาโซนสำคัญ หรือ "Point of Interest (POI)" เช่น Order Blocks หรือ Fair Value Gaps ที่สอดคล้องกับทิศทางจาก M15
Timeframe เล็ก (LTF) - กราฟปัจจุบัน: ใช้หาสัญญาณยืนยันเพื่อเข้าเทรดในโซน POI ที่กำหนดไว้
รายละเอียดของโค้ด
## ส่วนที่ 1: การตั้งค่า (Inputs & Settings)
ส่วนนี้ให้คุณปรับแต่งค่าต่างๆ ของ Indicator ได้:
การตั้งค่าทั่วไป:
i_pivotLookback: กำหนดระยะเวลาที่ใช้มองหาจุดกลับตัว (Pivot) ใน Timeframe เล็ก (LTF) เพื่อใช้ยืนยันสัญญาณ Change of Character (CHoCH)
การตั้งค่า M15 (ทิศทางหลัก):
i_m15EmaFast / i_m15EmaSlow: ใช้เส้น EMA 2 เส้นบน Timeframe 15 นาที เพื่อกำหนดเทรนด์หลัก หาก EMA เร็วอยู่เหนือ EMA ช้า จะเป็นเทรนด์ขาขึ้น และในทางกลับกัน
การตั้งค่า M5 (จุดสนใจ - POI):
i_showM5Fvg / i_showM5Ob: เปิด/ปิด การแสดงโซน Fair Value Gaps (FVG) และ Order Blocks (OB) บน Timeframe 5 นาที ซึ่งเป็นโซนที่สคริปต์จะใช้หาโอกาสเข้าเทรด
i_maxPois: จำกัดจำนวนโซน POI ที่จะแสดงผลบนหน้าจอ เพื่อไม่ให้กราฟดูรกเกินไป
การตั้งค่า LTF (การเข้าเทรด):
i_entryMode:
ยืนยัน (Confirmation): เป็นโหมดที่ปลอดภัยกว่า โดยสคริปต์จะรอให้เกิดสัญญาณ Change of Character (CHoCH) ใน Timeframe เล็กก่อน หลังจากที่ราคาเข้ามาในโซน POI แล้ว
เชิงรุก (Aggressive): เป็นโหมดที่เสี่ยงกว่า โดยสคริปต์จะเข้าเทรดทันทีที่ราคาแตะระดับ 50% ของโซน POI โดยไม่รอสัญญาณยืนยัน CHoCH
i_showChoch: เปิด/ปิด การแสดงเส้น CHoCH บนกราฟ
การตั้งค่าการจัดการเทรด:
i_tpRatio: กำหนด อัตราส่วนกำไรต่อความเสี่ยง (Risk-to-Reward Ratio) เพื่อตั้งเป้าหมายทำกำไร (Take Profit) เช่น 2.0 หมายถึงระยะทำกำไรจะเป็น 2 เท่าของระยะตัดขาดทุน
i_slMode: (ฟีเจอร์ใหม่ V5.2) มี 4 รูปแบบในการคำนวณ Stop Loss:
โซน POI (ค่าเริ่มต้น): วาง SL ไว้ที่ขอบนอกสุดของโซน POI
Swing ล่าสุด: วาง SL ไว้ที่จุด Swing High/Low ล่าสุดของ Timeframe เล็ก (LTF) ก่อนเข้าเทรด
ATR: ใช้ค่า ATR (Average True Range) เพื่อกำหนด SL ตามระดับความผันผวนของราคา
แท่งเทียนก่อนหน้า: วาง SL ไว้ที่ราคา High/Low ของแท่งเทียนก่อนหน้าที่จะเข้าเทรด เป็นวิธีที่ SL แคบและเสี่ยงที่สุด
i_maxHistory: กำหนดจำนวนประวัติการเทรดที่จะแสดงย้อนหลังบนกราฟ
## ส่วนที่ 2: ประเภทข้อมูลและตัวแปร
ส่วนนี้เป็นการสร้างโครงสร้างข้อมูล (type) เพื่อจัดเก็บข้อมูลให้เป็นระบบ:
Poi: เก็บข้อมูลของโซน POI แต่ละโซน เช่น กรอบราคาบน-ล่าง, ทิศทาง (ขึ้น/ลง) และสถานะว่าถูกใช้งานไปแล้วหรือยัง (Mitigated)
Trade: เก็บรายละเอียดของแต่ละการเทรด เช่น ราคาเข้า, SL, TP, ผลลัพธ์ (Win/Loss/Active) และอ็อบเจกต์สำหรับวาดกล่องบนกราฟ
## ส่วนที่ 3: ตรรกะหลักและการคำนวณ
เป็นหัวใจสำคัญของ Indicator:
ดึงข้อมูลข้าม Timeframe: ใช้ฟังก์ชัน request.security เพื่อดึงข้อมูล EMA จาก M15 และข้อมูลแท่งเทียนจาก M5 มาใช้งาน
ระบุ POI: สคริปต์จะค้นหา FVG และ OB บน M5 ตลอดเวลา หากเจ้ารูปแบบที่สอดคล้องกับทิศทางหลักจาก M15 (เช่น เจอ Bullish OB ในขณะที่ M15 เป็นขาขึ้น) ก็จะวาดโซนนั้นไว้บนกราฟ
เงื่อนไขการเข้าเทรด:
เมื่อราคาใน Timeframe เล็ก (LTF) วิ่งเข้ามาในโซน POI ที่ยังไม่เคยถูกใช้งาน
สคริปต์จะรอสัญญาณตาม i_entryMode ที่เลือกไว้ (รอ CHoCH หรือเข้าแบบ Aggressive)
เมื่อเงื่อนไขครบ จะคำนวณ SL และ TP จากนั้นจึงบันทึกการเทรดใหม่
ติดตามการเทรด: สำหรับเทรดที่ยัง "Active" อยู่ สคริปต์จะคอยตรวจสอบทุกแท่งเทียนว่าราคาไปถึง SL หรือ TP แล้วหรือยัง เมื่อถึงจุดใดจุดหนึ่ง จะบันทึกผลและสิ้นสุดการวาดกล่องบนกราฟ
## ส่วนที่ 5: การแสดงผลบนหน้าจอ
ส่วนนี้จะสร้างตาราง "Performance Dashboard" ที่มุมขวาบนของกราฟ เพื่อสรุปผลการทำงานแบบ Real-time:
M15 Bias: แสดงทิศทางของตลาดในปัจจุบัน
Total Trades: จำนวนเทรดทั้งหมดที่เกิดขึ้นในประวัติ
Win Rate: อัตราชนะ คิดเป็นเปอร์เซ็นต์
Total R-Multiple: ผลตอบแทนรวมจากความเสี่ยง (R) ทั้งหมด (ผลรวม RRR ของเทรดที่ชนะ ลบด้วยจำนวนเทรดที่แพ้) หากเป็นบวกแสดงว่ามีกำไรโดยรวม
📋 ข้อแนะนำในการใช้งาน
Timeframe ที่เหมาะสม: Indicator นี้ถูกออกแบบมาให้ใช้กับ Timeframe เล็ก (LTF) เช่น M1, M3 หรือ M5 เนื่องจากมันดึงข้อมูลจาก M15 และ M5 มาเป็นหลักการอยู่แล้ว
สไตล์การเทรด:
Confirmation: เหมาะสำหรับผู้ที่ต้องการความปลอดภัยสูง รอการยืนยันก่อนเข้าเทรด อาจจะตกรถบ้าง แต่ลดความเสี่ยงจากการเข้าเทรดเร็วเกินไป
Aggressive: เหมาะสำหรับผู้ที่ยอมรับความเสี่ยงได้สูงขึ้น เพื่อให้ได้ราคาเข้าที่ดีที่สุด
การเลือก Stop Loss:
"Swing ล่าสุด" และ "โซน POI" เป็นวิธีมาตรฐานตามหลัก SMC
"ATR" เหมาะกับตลาดที่มีความผันผวนสูง เพราะ SL จะปรับตามสภาพตลาด
"แท่งเทียนก่อนหน้า" เป็นวิธีที่เสี่ยงที่สุด เหมาะกับการเทรดเร็วและต้องการ RRR สูงๆ แต่ก็มีโอกาสโดน SL ง่ายขึ้น
การบริหารความเสี่ยง: Indicator นี้เป็นเพียง เครื่องมือช่วยวิเคราะห์ ไม่ใช่สัญญาณซื้อขายอัตโนมัติ 100% ผู้ใช้ควรมีความเข้าใจในหลักการของ SMC และทำการบริหารความเสี่ยง (Risk Management) อย่างเคร่งครัดเสมอ
การทดสอบย้อนหลัง (Backtesting): ควรทำการทดสอบ Indicator กับสินทรัพย์และตั้งค่าต่างๆ เพื่อให้เข้าใจลักษณะการทำงานและประสิทธิภาพของมันก่อนนำไปใช้เทรดจริง
Info TablesThis indicator provides two clear tables showing key market metrics, helping you make sense of price action. Each metric is chosen to give you practical insights, and you can customize the display to fit your needs.
## Key Features and Why Metrics Matter
### Main Table Metrics
- **ML-Predicted Price**:
- **What**: A price forecast based on a machine learning model using past price, volume, and RSI data.
- **Why**: Shows where the market might head, helping you gauge if the current price is too high or low compared to the prediction. Useful for spotting potential reversals or continuations.
- **Deviation %**:
- **What**: The percentage difference between the current price and the predicted price.
- **Why**: Tells you how far the market is straying from the ML forecast. A large deviation might suggest overbought/oversold conditions or a trend shift.
- **VWAP Deviation %**:
- **What**: The percentage difference between the current price and the Volume Weighted Average Price (VWAP).
- **Why**: VWAP is a benchmark for fair price; deviation shows if the market is stretched above or below this level, aiding entries or exits.
- **FRED UNRATE % Change**:
- **What**: The percentage change in the U.S. unemployment rate from FRED data.
- **Why**: Offers macro context. Rising unemployment can signal economic weakness, impacting market sentiment, while falling rates may boost confidence.
- **Open Interest**:
- **What**: The total number of open futures contracts for MESM2.
- **Why**: High open interest indicates strong market participation, often tied to liquidity and conviction. Low levels might suggest indecision or lack of commitment.
- **COT Commercial Long/Short**:
- **What**: Commitment of Traders (COT) data showing commercial traders’ long and short positions.
- **Why**: Reveals how big players (hedgers) are positioned. More longs than shorts can hint at bullish sentiment, while more shorts suggest bearish views.
### New Metrics Table
- **QQE Bias**:
- **What**: A momentum indicator based on a smoothed RSI with trailing stops.
- **Why**: Highlights bullish (green) or bearish (red) momentum, helping you confirm short-term trade directions or avoid choppy markets (gray).
- **Volume Momentum**:
- **What**: A score (1–20) comparing current volume to past volume over a lookback period.
- **Why**: High scores indicate strong buying/selling pressure, signaling potential breakouts or reversals. Low scores suggest weak participation.
- **ATR Volatility**:
- **What**: A score (1–20) based on the Average True Range, measuring price volatility.
- **Why**: High volatility warns of larger price swings, useful for setting stop-losses or avoiding trades in choppy conditions. Low volatility may indicate consolidation.
- **ADX Trend**:
- **What**: The Average Directional Index, measuring trend strength.
- **Why**: High ADX values confirm strong trends, guiding you to trade with the trend. Low values suggest range-bound markets, better for mean-reversion strategies.
- **RSI**:
- **What**: Relative Strength Index, showing overbought (>70) or oversold (<30) conditions.
- **Why**: Helps identify potential reversal points or confirm momentum. Useful for timing entries in overextended markets.
- **Frahm Volatility**:
- **What**: A score (1–20) based on true range over a time window (e.g., 24 hours).
- **Why**: Measures short-term volatility, helping you adjust position sizes or avoid trading during erratic price moves.
- **Frahm Avg Candle (Ticks)**:
- **What**: The average candle size in ticks over the same time window.
- **Why**: Indicates typical price movement, useful for setting realistic profit targets or stop-losses based on recent market behavior.
### Additional Features
- **Plotted Predicted Price**:
- **What**: An optional line showing the ML-predicted price on the chart.
- **Why**: Lets you visually compare the predicted price to actual price action, making it easier to spot divergence or alignment.
- **Custom Gradient Colors**:
- **What**: User-defined colors for high/low values in both tables.
- **Why**: Makes it quick to see which metrics are at extremes (e.g., high deviation or strong ADX), improving decision-making under pressure.
- **Alerts**:
- **What**: Notifications for high/low Frahm volatility and bullish/bearish QQE Bias.
- **Why**: Keeps you informed of critical changes (e.g., volatility spikes or momentum shifts) without needing to watch the chart constantly.
## Customization Options
- **ML Matrix Inputs**:
- Adjust the **ML Lookback Period** (e.g., 200–300 for volatile markets, 1000 for trends) to control how much history the ML model uses.
- Set the **ML RSI Period** (e.g., 7–10 for fast markets, 20 for calm) to tweak the RSI’s sensitivity in the prediction.
- **Plot Settings**:
- Toggle the predicted price line and choose its color (default blue) for clear visibility.
- **Table Settings**:
- Position tables (top/bottom, left/center/right) and show/hide them to focus on what matters.
- **Gradient Color Settings**:
- Pick colors for high/low values in each table to match your chart or preferences.
- **Timeframe & Thresholds**:
- Set specific timeframes (e.g., 5-minute for smoother data) and thresholds (e.g., tighter deviation ranges) for each metric to suit your trading style.
## Ideal Use Case
This indicator is perfect for MESM2 traders navigating fast-moving markets. The Main Table gives you a big-picture view (predicted price, macro data, and positioning), while the New Metrics Table zooms in on momentum and volatility, ideal for scalping or trend trades. Use it to confirm entries, set stops, or avoid choppy periods.
## Why It’s Valuable
The **ML Matrix - Tables Only** puts essential data at your fingertips. Each metric is selected to answer a specific question—Is the price overextended? Is momentum building? Are big players bullish? Are conditions too volatile?—helping you trade with clarity and confidence, whether you’re catching quick moves or riding longer trends.
IDKFAIDKFA - Advanced Order Blocks & Volume Profile with Market Structure Analysis
Why IDKFA?
Named after the legendary DOOM cheat code that gives players "all weapons and full ammo," IDKFA provides traders with a comprehensive arsenal of market analysis tools. Just as the cheat code arms players with everything needed for combat, this indicator equips traders with essential market structure tools: Order Blocks, Volume Profile, LVN/HVN areas, Fibonacci retracements, and intelligent buy/sell signals - all in one unified system.
Core Features
Order Blocks Detection
Automatically identifies institutional order blocks using pivot high/low analysis
Extends blocks dynamically until price interaction occurs
Bullish blocks (demand zones) and bearish blocks (supply zones)
Customizable opacity and extend functionality
Advanced Volume Profile
Real-time volume profile calculation for multiple session types
Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL)
Mode 1: Side-by-side bull/bear volume display
Mode 2: Overlapped volume display with percentage analysis
Shows buying vs selling pressure at each price level
LVN/HVN Area Detection
Low Volume Nodes (LVN): Areas below VAL where price moves quickly
High Volume Nodes (HVN): Areas above VAH with strong resistance
NPOC (Naked Point of Control): Single print areas within Value Area
Volume-based gradient coloring shows relative activity levels
Smart Fibonacci Retracements
Auto-detects trend direction for proper fibonacci orientation
Dynamic color coding: Red levels in uptrends, Gold in downtrends
Special 88.6% level turns lime green in downtrends
Key levels: 23.6%, 38.2%, 50%, 61.8%, 65%, 78.6%, 88.6%
Intelligent Signal System
Works best on higher timeframes
Identifies high-probability reversal setups at key levels
Buy signals: Large bearish rejection followed by bullish reclaim
Sell signals: Large bullish rejection followed by bearish breakdown
Signals only trigger near significant support/resistance areas
Signal Analysis & Usage Guidelines
Buy Signal Mechanics
The buy signal triggers when:
Previous candle shows significant bearish movement (minimum ATR multiplier)
Current candle reclaims a configurable percentage of the previous candle's range
Price is near a key support level (order blocks, fibonacci, volume levels)
Sell Signal Mechanics
The sell signal triggers when:
Previous candle shows significant bullish movement (minimum ATR multiplier)
Current candle rejects below a configurable percentage of the previous candle's range
Price is near a key resistance level (order blocks, fibonacci, volume levels)
When to TAKE Signals
High Probability Buy Signals:
Signal appears AT or BELOW the VAL (Value Area Low)
Signal occurs at bullish order block confluence
Price is in LVN area below VAL (momentum acceleration zone)
Signal aligns with fibonacci 61.8% or 78.6% support
Multiple session POC levels provide support confluence
Previous session's VAL acting as current support
High Probability Sell Signals:
Signal appears AT or ABOVE the VAH (Value Area High)
Signal occurs at bearish order block confluence
Price is in HVN area above VAH (heavy resistance zone)
Signal aligns with fibonacci 61.8% or 78.6% resistance
Multiple session POC levels provide resistance confluence
Previous session's VAH acting as current resistance
When to AVOID Signals
Avoid Buy Signals When:
Signal appears ABOVE the VAH (buying into resistance)
Price is in HVN red zones (high volume resistance areas)
No clear support structure below current price
Volume profile shows heavy selling pressure (high bear percentages)
Signal occurs during low-volume periods between major sessions
Multiple bearish order blocks exist below current price
Avoid Sell Signals When:
Signal appears BELOW the VAL (selling into support)
Price is in LVN green zones (momentum could continue)
No clear resistance structure above current price
Volume profile shows heavy buying pressure (high bull percentages)
Signal occurs during Asian session ranges without clear direction
Multiple bullish order blocks exist above current price
Volume Profile Context for Signals
Understanding Bull/Bear Percentages:
70%+ Bull dominance at a level = Strong support expected
70%+ Bear dominance at a level = Strong resistance expected
50/50 Split = Neutral zone, less predictable
Use percentages to gauge conviction behind moves
POC (Point of Control) Interactions:
Signals above POC in uptrend = Higher probability
Signals below POC in downtrend = Higher probability
Signals against POC bias require extra confirmation
POC often acts as magnetic level for price return
Trading Strategies
Strategy 1: VAL/VAH Bounce Strategy
Wait for price to approach VAL (support) or VAH (resistance)
Look for signal confirmation at these critical levels
Enter with tight stops beyond the Value Area
Target opposite boundary or next session's levels
Strategy 2: Order Block + Volume Confluence
Identify order block alignment with VAL/VAH
Wait for signal within the confluence zone
Enter on signal with stop beyond order block
Use LVN areas as acceleration zones for targets
Strategy 3: LVN/HVN Strategy
LVN (Green) Areas: "Go Zones" - expect quick price movement through low volume
HVN (Red) Areas: "Stop Zones" - expect resistance and potential reversals
NPOC Areas: "Fill Zones" - price often returns to fill single print gaps
Strategy 4: Multi-Session Analysis
Use Daily/Weekly for major structure context
Use 4H for intermediate levels
Use 1H for precise entry timing
Ensure all timeframes align before taking signals
Strategy 5: Fibonacci + Volume Profile
Buy signals at 61.8% or 78.6% fibonacci near VAL
Sell signals at 61.8% or 78.6% fibonacci near VAH
Use 88.6% level as final support/resistance before major moves
50% level often aligns with POC for confluence
Signal Quality Assessment
Grade A Signals (Highest Probability):
Signal at VAL/VAH with order block confluence
Fibonacci level alignment (61.8%, 78.6%)
Volume profile shows 70%+ dominance in signal direction
Multiple timeframe structure alignment
Signal occurs during high-volume sessions (London/NY)
Grade B Signals (Moderate Probability):
Signal near POC with some confluence
Fibonacci 50% or 38.2% alignment
Mixed volume profile readings (50-70% dominance)
Some timeframe alignment present
Signal during overlap sessions
Grade C Signals (Lower Probability):
Signal with minimal confluence
Weak fibonacci alignment or none
Volume profile neutral or against signal
Conflicting timeframe signals
Signal during low-volume periods
Risk Management Guidelines
Position Sizing Based on Signal Quality:
Grade A: Standard position size
Grade B: Reduced position size (50-75%)
Grade C: Minimal position size (25%) or skip entirely
Stop Loss Placement:
Beyond order block boundaries
Outside Value Area (VAL/VAH)
Below/above fibonacci confluence levels
Account for session volatility ranges
Profit Targets:
First target: Opposite VAL/VAH boundary
Second target: Next session's key levels
Final target: Major order blocks or fibonacci extensions
Credits & Attribution
Original components derived from:
Market Sessions & Volume Profile by © Leviathan (Mozilla Public License 2.0)
Volume Profile elements inspired by @LonesomeTheBlue's volume profile script
Pivot Order Blocks by TradingWolf / © MensaTrader (Mozilla Public License 2.0)
Auto Fibonacci Retracement code (public domain)
Significant enhancements and modifications include:
Advanced LVN/HVN detection and visualization
Bull/Bear percentage analysis for Mode 2/3
Comprehensive alert system with market context
Integrated buy/sell signals at key levels
Performance optimizations and extended session support
Enhanced Mode 2/3 with percentage pressure analysis
Important Disclaimers
This indicator is a technical analysis tool designed for educational purposes. It does not provide financial advice, investment recommendations, or trading signals that guarantee profits. All trading involves substantial risk of loss, and past performance does not guarantee future results. Users should conduct their own research, understand the risks involved, and consider consulting with qualified financial advisors before making trading decisions. The signals and analysis provided are based on historical price patterns and volume data, which may not predict future market movements accurately.
Best Practices
Never trade signals blindly - always consider volume profile context
Wait for confluence between multiple tools before entering
Respect the Value Area - avoid buying above VAH or selling below VAL
Use session context - Asian ranges vs London/NY breakouts
Practice proper risk management - position size based on signal quality
Understand the bigger picture - use multiple timeframes for context
Remember: Like the IDKFA cheat code, having all the tools doesn't guarantee success. The key is learning to use them together effectively and understanding when NOT to take a signal is often more important than knowing when to take one.
Open Range Breakout (ORB) with Alerts
🚀 ChartsAlgo – Open Range Breakout (ORB) with Alerts
The Open Range Breakout (ORB) Indicator by ChartsAlg is designed for intraday traders looking to capitalize on price movements after the market’s opening range. This tool is especially effective for futures (MNQ, MES) and high-volatility stocks or crypto where initial volatility sets the tone for the session.
This indicator identifies a user-defined opening range window, plots the high/low lines of that range, and visually alerts users when price breaks out above or below the range — with options to customize breakout repetitions, background fill, and alerts.
💡 What is an Open Range Breakout (ORB)?
The opening range represents the high and low established during the first few minutes of the trading session — usually 15 or 30 minutes. Many intraday strategies are based on the idea that breaking out of this initial range often signals strong momentum and trend continuation.
Traders often enter:
Long when price breaks above the range high.
Short when price breaks below the range low.
⚙️ How It Works
You define a session window (e.g., 09:30–09:45 EST).
The indicator tracks the high and low during this time.
Once the session ends, the high and low become your range breakout levels.
The indicator then:
Plots lines for visual clarity
Optionally fills background between the range
Triggers breakout signals if price crosses the levels
Provides alerts when breakouts occur
🛠️ Settings Breakdown
🔹 Session Settings
Range Session: Set your preferred window (e.g., 0930–0945). Can be premarket, first 30 mins, or any custom time.
Time zone: Use "America/New York" for EST (default) or change to "GMT+0" for international traders.
🔹 Breakout Settings
Bullish Breakout Signals: Number of allowed breakout alerts above the range.
Bearish Breakout Signals: Number of allowed breakout alerts below the range.
This prevents repeated alerts once breakout has been confirmed.
🔹 Display Settings
Show Background Fill: Fills area between high/low of the range for easier visual analysis.
Show Breakout Signals: Triangle markers plotted on the chart when breakouts happen.
Only Show Today’s Range: Keeps the chart clean by showing only the most current day’s range.
🔹 Color Settings
Range High/Low Line Colors: Choose any color for clarity.
Range Fill Color: Customize the highlight area for your chart style.
📊 Chart Features
Range High/Low Lines: Automatically plotted after range session ends.
Visual Fill Box: Optional background shading between the opening range.
Triangle Breakout Markers: Appear at the breakout candle.
Alerts: Can be used with TradingView’s alert system to notify you of breakouts in real-time.
🔔 Alerts
Two alert conditions are built in:
Bullish Breakout: Triggers when price breaks above the high of the range.
Bearish Breakout: Triggers when price breaks below the low of the range.
Example Alert Message:
📈 “Bullish Breakout above Open Range on AAPL!”
To activate:
Click “🔔 Alerts” on TradingView.
Set condition to this script.
Choose “ORB Breakout Up” or “ORB Breakout Down”.
Choose alert frequency and notification method.
⚠️ DISCLAIMER
ChartsAlgo tools are for informational and educational purposes only.
They are not financial advice or signals. Past performance does not guarantee future results. Use at your own risk and always implement solid risk management.
By using this indicator, you agree that you are solely responsible for any trades or decisions made based on the information provided.
Rpaid Killzone Breakout v3.6Final Indicator Title: Rapid Killzone Break & HTF Levels
Overview
Welcome to the Rapid Killzone Break & HTF Levels, an all-in-one trading toolkit designed for precision and context. This indicator was built to solve a common problem for day traders: how to combine a precise, lower-timeframe (LTF) entry model with the essential context of higher-timeframe (HTF) levels.
This tool is founded on a session-based breakout strategy, leveraging the volatility and liquidity generated during specific market hours (the "Killzones"). It then layers critical HTF support and resistance levels onto your chart, allowing you to make more informed trading decisions without ever needing to switch timeframes.
Whether you trade Forex, Gold, or major Indices, this indicator provides a comprehensive framework for identifying high-probability breakout opportunities.
The Core Strategy
The methodology is a powerful three-step process based on session liquidity and qualified breakouts:
The Killzone Range: The indicator first identifies the high and low established during a specific, high-volatility trading session (e.g., the first hour of London or New York). This range acts as a pool of liquidity. The core idea is that the market will often seek to "sweep" or run the liquidity resting above the session high or below the session low.
The Qualified Breakout: This is not just any breakout strategy. A valid entry signal only appears when price closes decisively outside the Killzone range with significant momentum. To ensure the quality of the signal, the breakout must meet several user-defined criteria:
The Killzone must have a minimum pip range.
The breakout candle must have a strong body-to-wick ratio.
The breakout must be accompanied by a spike in volume.
Higher Timeframe Confluence: A breakout is more likely to succeed if it aligns with the HTF narrative. This indicator plots the previous higher-timeframe candle's high and low directly onto your chart. These levels act as powerful magnets for price or as formidable support/resistance zones. A breakout on the LTF that targets the HTF previous high is a much higher-probability setup than one trading directly into it.
Key Features
📊 DST-Aware Killzones: Automatically adjusting session boxes for London and New York. The timezones are fully configurable (e.g., Europe/London, America/New_York) and automatically handle Daylight Saving Time changes so you never have to manually adjust them.
📈 Killzone Pivots: Automatically draws the High, Low, and a dotted Midpoint from each Killzone session, acting as key intraday levels.
🏛️ Higher Timeframe (HTF) Levels: Plots the previous HTF candle's High and Low as dashed lines on your chart, providing critical context for support, resistance, and targets.
🕯️ HTF Mini-Candles: Displays a visual summary of the last three HTF candles on the right side of your chart, so you can see the HTF trend at a glance.
⏰ Custom Vertical Timestamps: Up to three configurable vertical lines with labels to mark key events like other session opens (e.g., "Sydney Open").
🎛️ Advanced Breakout Filters: Fine-tune your signals with filters for minimum Killzone range, minimum candle body percentage, and volume spikes. (Important: The volume filter requires a data feed that provides real volume, such as OANDA, FXCM, or futures/stock data).
✅ Dynamic Entry Advice Table: After a signal, a table provides a suggested entry technique (e.g., "50% retrace to signal candle") based on how far price has moved from the breakout level.
📋 Killzone Range Stats Table: A clean table shows the current and average pip range for both the London and New York sessions, helping you gauge current volatility.
🛠️ Fully Customizable: Nearly every visual element can be toggled on/off or have its color and style changed to suit your personal chart theme.
How to Use This Indicator
This tool is designed to provide a clear, step-by-step workflow for your trading sessions.
Setup: In the settings, choose your desired Reference Timeframe (e.g., 240 for 4-Hour). Configure your Killzone session times and colors.
Context is King: Before the session begins, take note of where price is in relation to the dashed HTF High/Low lines. Is price consolidating below the previous HTF low? A breakout might target it. Is price approaching the HTF high? This could be a take-profit area or a point of resistance.
Wait for the Range: Allow the London or New York Killzone (the colored box) to form completely.
Anticipate the Breakout: Once the session box is closed, the indicator is now hunting for a valid breakout.
Validate the Signal: When a "Long" or "Short" label appears, this is your entry signal. Check the Info-Box data (RSI, volume, candle body %) to confirm the strength of the move.
Manage the Trade: Use the Killzone pivots and the HTF High/Low lines as potential areas to manage your trade, take partial profits, or identify a final target. Check the Entry Advice table for ideas on refined entries if you miss the initial move.
Applicable Markets
This strategy is most effective on instruments known for their session-based volatility. It has been tested and works exceptionally well on:
Forex Majors: EUR/USD, GBP/USD, etc.
Gold: XAU/USD
Indices: NASDAQ 100 (NQ100), S&P 500 (SPX500)
It is best used on lower timeframes (such as the 5-minute or 15-minute chart) for trade execution.
Volume Delta Candles 5TF + MTF Candles [SYNC & TRADE]Volume Delta Candles 5TF + MTF Candles Script Description (English)
Purpose
The Volume Delta Candles 5TF + MTF Candles script is an analytical tool for traders leveraging volume delta and multi-timeframe (MTF) analysis. It visualizes volume delta (the difference between buying and selling volumes) across five timeframes, aiding in the identification of manipulations, strong market impulses, and trend signals.
Additionally, it overlays higher timeframe candles on the current chart, providing context for decision-making.
The indicator is ideal for traders focusing on volume, manipulation analysis, or trend-following strategies. Its uniqueness lies in its detailed five-timeframe delta analysis, automated timeframe selection, and customizable settings.
Volume Delta Analysis
Volume delta is the core metric of the script, representing the difference between buying and selling volumes over a given period. It is divided into five levels, each corresponding to one of the five timeframes, enabling traders to observe how market activity varies across temporal scales. The primary delta is automatically adjusted based on the selected chart timeframe, ensuring relevance.
Timeframe Selection
Primary Timeframes: Automatically determined based on the chart, including monthly, weekly, daily, 4-hour, and hourly periods. These cover long- and medium-term trends, providing a robust context.
Lower Timeframes: Optimized to capture significant short-term movements. These are shorter than primary timeframes and focus on market micro-activity, such as manipulations or impulses.
Five Timeframe Interconnection
The five timeframes provide a comprehensive analysis by balancing granularity and context. Each timeframe evaluates volume delta, creating a layered perspective:
Short Timeframes: Capture immediate changes in activity (e.g., buying or selling spikes).
Long Timeframes: Assess the sustainability of movements, filtering out short-term noise. Delta for each timeframe is displayed as a separate candle, with color and size reflecting its magnitude and direction. This allows traders to compare short-term actions against broader trends.
Delta’s Impact on Candles
Volume delta directly influences candle visualization, reflecting market dynamics. Splitting delta into five parts (one per timeframe) makes the analysis intuitive. Key scenarios include:
Small Delta on Lower Timeframe, Large on Higher:
Description: A low timeframe shows minimal delta (e.g., slight buying/selling difference), while a higher timeframe shows significant delta (e.g., strong buying dominance).
Interpretation: Suggests large players accumulating positions on the higher timeframe, masked by low activity on the lower. Traders may enter in the direction of the higher trend.
Visualization: The lower timeframe candle is narrow and faint, while the higher timeframe candle is wide and vibrant (blue for positive delta, red for negative).
Large Delta on Lower Timeframe, Small on Higher:
Description: A low timeframe exhibits strong delta (e.g., a selling surge), but the higher timeframe shows weak activity.
Interpretation: Indicates a short-term impulse or manipulation unsupported by the broader trend. Traders should be cautious, as the move may be false.
Visualization: The lower timeframe candle is bright and wide, while the higher timeframe candle is faint and narrow.
Reverse Delta:
Description: A lower timeframe shows positive delta (buying dominance), while a higher timeframe shows negative delta (selling dominance), or vice versa.
Interpretation: Suggests potential manipulation or reversal. For example, short-term buying may be absorbed by selling on a higher timeframe, signaling bearish weakness.
Visualization: Candles on different timeframes have opposing colors (e.g., blue on lower, red on higher).
Deltas in Both Directions:
Description: Delta alternates between positive and negative across timeframes without clear dominance.
Interpretation: Reflects market indecision or consolidation. Traders should wait for clearer signals or use additional indicators.
Visualization: Candles across timeframes show mixed colors and sizes, creating a “scattered” pattern.
Empty Candles (Void):
Description: Delta on one or more timeframes is near zero despite price movement.
Interpretation: Indicates false movement or lack of market interest, often tied to manipulations like false breakouts.
Visualization: Marked with a diamond (void manipulation), with the candle appearing minimal and faint.
Utility
Detailed Delta Analysis: Five delta levels reveal market activity from micro- to macro-levels.
Manipulation Detection: Highlights candles with price-delta divergence, aiding in spotting false moves.
Strong Candles: Marks impulsive moves with high delta and volume.
MTF Analysis: Displays higher timeframe candles, simplifying trend and key level analysis.
Versatility: Sensitivity settings make it suitable for stocks, forex, crypto, and all timeframes.
How to Use
Adding to Chart:
Open TradingView and select an asset.
Find “Volume Delta Candles 5TF + MTF Candles ” in the “Indicators” menu.
Confirm access (invite-only script).
Interpreting Signals:
Delta Candles: Colored by delta direction (blue for positive, red for negative). Color intensity and candle size reflect delta strength across five timeframes.
Manipulations:
Triangles: Strong price-delta divergence.
Crosses: Weak divergence.
Diamonds: Void candles with minimal delta.
Strong Candles: Circles below/above candles indicate high-delta impulses.
MTF Candle: A transparent higher timeframe candle shows trend and range.
Trading Application:
Use manipulations to spot reversals or false breakouts.
Confirm impulses with strong candles and higher timeframe delta.
Analyze MTF candles for trend context.
Compare delta across all five timeframes to filter signals.
Combine with support/resistance or other indicators.
Settings
Parameters are grouped for ease of customization.
1. Labels
Show Manipulations: Display strong manipulation labels (triangles).
Show Void Manipulations: Show void manipulations (diamonds).
Show Delta Sandwich: Reserved for future updates.
Show Strong Candles: Display strong candles (circles).
2. Filters (Strong Candle Filter)
Filter Sensitivity: Filter sensitivity:
Normal: For stable markets.
Medium: For moderate volatility.
Sensitive: For high-frequency trading.
3. Delta Colors
Delta 1↑ (Main): Color for positive delta on the main timeframe.
Delta 1↓ (Main): Color for negative delta on the main timeframe.
Other timeframes use derived colors with varying opacity.
4. Timeframes
Timeframe Sensitivity: Sensitivity for lower timeframes:
Normal: Standard division.
Medium: More detailed analysis.
Sensitive: Maximum detail.
5. MTF Candle
Show MTF Candle: Display higher timeframe candle.
Bullish/Bearish Color: Colors for bullish/bearish candles.
Show High/Low: Show highs/lows.
High/Low Color: Color for high/low lines.
MTF Timeframe: Select higher timeframe (default: daily).
Описание скрипта Volume Delta Candles 5TF + MTF Candles (Русский)
Назначение
Скрипт Volume Delta Candles 5TF + MTF Candles — это аналитический инструмент для трейдеров, использующих дельту объема и анализ нескольких таймфреймов (MTF). Он визуализирует дельту объема (разницу между объемами покупок и продаж) на пяти таймфреймах, помогая выявлять манипуляции, сильные рыночные импульсы и трендовые сигналы. Дополнительно скрипт отображает свечи старшего таймфрейма на текущем графике, предоставляя контекст для принятия решений.
Индикатор подходит для трейдеров, работающих с объемами, анализом манипуляций или трендовыми стратегиями. Его уникальность заключается в детализированном анализе дельты объема на пяти таймфреймах, адаптивной автоматизации таймфреймов и гибких настройках.
Анализ дельты объема
Дельта объема — это ключевая метрика скрипта, отражающая разницу между объемами покупок и продаж за определенный период. Она разделена на пять уровней, соответствующих пяти таймфреймам, что позволяет трейдерам видеть, как рыночная активность варьируется на разных временных масштабах. Основная дельта подбирается автоматически в зависимости от выбранного таймфрейма графика, обеспечивая релевантность анализа.
Выбор таймфреймов
Основные таймфреймы: Автоматически определяются на основе текущего графика и включают месяц, неделю, день, 4 часа и час. Эти таймфреймы выбраны для охвата долгосрочных и среднесрочных трендов, обеспечивая контекст для анализа.
Нижние таймфреймы: Подбираются методом оптимизации для выявления наиболее значимых краткосрочных движений. Они короче основных таймфреймов и фокусируются на микроактивности рынка, такой как манипуляции или импульсы.
Взаимосвязь пяти таймфреймов
Пять таймфреймов обеспечивают комплексный анализ, сочетая детализацию и контекст. Каждый таймфрейм анализирует дельту объема, создавая многослойную картину:
Короткие таймфреймы: Улавливают моментальные изменения активности (например, всплеск покупок или продаж).
Длинные таймфреймы: Оценивают устойчивость движений, фильтруя шум краткосрочных колебаний. Дельта на каждом таймфрейме отображается отдельной свечой, с цветом и размером, зависящими от ее величины и направления. Это позволяет трейдерам сравнивать, как краткосрочные действия соотносятся с более широкими трендами.
Влияние дельты на свечи
Дельта объема напрямую влияет на визуализацию свечей, отражая рыночную динамику. Разделение дельты на пять частей (по одному для каждого таймфрейма) делает анализ интуитивно понятным. Рассмотрим ключевые сценарии:
Маленькая дельта на низком таймфрейме, большая на высоком:
Описание: На младшем таймфрейме дельта мала (например, незначительная разница между покупками и продажами), но на старшем таймфрейме дельта велика (например, сильный перевес покупок).
Интерпретация: Это может указывать на накопление позиций крупными игроками на старшем таймфрейме, маскируемое низкой активностью на младшем. Трейдеры могут использовать это как сигнал для входа в направлении старшего тренда.
Визуализация: Свеча младшего таймфрейма будет узкой и бледной, а свеча старшего — широкой и яркой (синяя для положительной дельты, красная для отрицательной).
Большая дельта на низком таймфрейме, маленькая на высоком:
Описание: На младшем таймфрейме наблюдается сильная дельта (например, всплеск продаж), но на старшем — слабая активность.
Интерпретация: Это может быть краткосрочным импульсом или манипуляцией, не поддерживаемой общим трендом. Трейдеры должны быть осторожны, так как движение может быть ложным.
Визуализация: Свеча младшего таймфрейма яркая и широкая, а старшего — бледная и узкая.
Обратная дельта:
Описание: Дельта на младшем таймфрейме положительная (покупки преобладают), а на старшем — отрицательная (продажи доминируют), или наоборот.
Интерпретация: Указывает на потенциальную манипуляцию или разворот. Например, краткосрочные покупки могут быть поглощены продажами на старшем таймфрейме, сигнализируя о слабости быков.
Визуализация: Свечи разных таймфреймов окрашены в противоположные цвета (например, синяя на младшем, красная на старшем).
Дельты в оба направления:
Описание: На разных таймфреймах дельта чередуется между положительной и отрицательной без явного доминирования.
Интерпретация: Отражает неопределенность или консолидацию на рынке. Трейдерам стоит дождаться более четких сигналов или использовать другие индикаторы.
Визуализация: Свечи разных таймфреймов имеют смешанные цвета и размеры, создавая «разбросанную» картину.
Пустые свечи (Void):
Описание: Дельта на одном или нескольких таймфреймах близка к нулю, несмотря на движение цены.
Интерпретация: Указывает на ложное движение или отсутствие интереса участников рынка. Это часто связано с манипуляциями, такими как ложные пробои.
Визуализация: Отмечается ромбовидной меткой (void-манипуляция), а свеча имеет минимальный размер и бледный цвет.
Полезность
Детализированный анализ дельты: Пять уровней дельты показывают, как рыночная активность варьируется от микро- до макроуровня.
Обнаружение манипуляций: Маркирует свечи с расхождением цены и дельты, помогая выявить ложные движения.
Сильные свечи: Выделяет импульсные движения с высокой дельтой и объемом.
MTF-анализ: Отображает свечи старшего таймфрейма, упрощая анализ трендов и ключевых уровней.
Универсальность: Настройки чувствительности делают скрипт подходящим для акций, форекса, криптовалют и любых таймфреймов.
Как использовать
Добавление на график:
Откройте TradingView и выберите актив.
Найдите индикатор «Volume Delta Candles 5TF + MTF Candles » в меню «Индикаторы».
Подтвердите доступ (скрипт invite-only).
Интерпретация сигналов:
Дельта-свечи: Окрашены по направлению дельты (синий — положительная, красный — отрицательная). Интенсивность цвета и размер свечи зависят от силы дельты на каждом из пяти таймфреймов.
Манипуляции:
Треугольники: Сильное расхождение цены и дельты.
Кресты: Слабое расхождение.
Ромбы: Пустые свечи (void), указывающие на минимальную дельту.
Сильные свечи: Круги под/над свечами обозначают импульсы с высокой дельтой.
MTF-свеча: Прозрачная свеча старшего таймфрейма показывает тренд и диапазон.
Применение в торговле:
Используйте манипуляции для поиска разворотов или ложных пробоев.
Подтверждайте импульсы сильными свечами и дельтой на старших таймфреймах.
Анализируйте MTF-свечи для определения трендового контекста.
Сравнивайте дельту на всех пяти таймфреймах для фильтрации сигналов.
Комбинируйте с уровнями поддержки/сопротивления или другими индикаторами.
Настройки
Параметры сгруппированы для удобства настройки.
1. Метки (Labels)
Show Manipulations: Показывать сильные манипуляции (треугольники).
Show Void Manipulations: Показывать void-манипуляции (ромбы).
Show Delta Sandwich: Зарезервировано для будущих обновлений.
Show Strong Candles: Показывать сильные свечи (круги).
2. Фильтры (Strong Candle Filter)
Filter Sensitivity: Чувствительность фильтра:
Normal: Для стабильных рынков.
Medium: Для умеренной волатильности.
Sensitive: Для высокочастотной торговли.
3. Цвета дельты (Delta Colors)
Delta 1↑ (Main): Цвет положительной дельты основного таймфрейма.
Delta 1↓ (Main): Цвет отрицательной дельты основного таймфрейма.
Остальные таймфреймы используют производные цвета с разной прозрачностью.
4. Таймфреймы (Timeframes)
Timeframe Sensitivity: Чувствительность нижних таймфреймов:
Normal: Стандартное деление.
Medium: Более детализированный анализ.
Sensitive: Максимальная детализация.
5. MTF-свеча (MTF Candle)
Show MTF Candle: Показывать свечу старшего таймфрейма.
Bullish/Bearish Color: Цвета бычьей/медвежьей свечи.
Show High/Low: Показывать максимумы/минимумы.
High/Low Color: Цвет линий максимума/минимума.
MTF Timeframe: Выбор старшего таймфрейма (по умолчанию — дневной).
Market Sentiment Index US Top 40 [Pt]▮Overview
Market Sentiment Index US Top 40 [Pt} shows how the largest US stocks behave together. You pick one simple measure—High Low breakouts, Above Below moving average, or RSI overbought/oversold—and see how many of your chosen top 10/20/30/40 NYSE or NASDAQ names are bullish, neutral, or bearish.
This tool gives you a quick view of broad-market strength or weakness so you can time trades, confirm trends, and spot hidden shifts in market sentiment.
▮Key Features
► Three Simple Modes
High Low Index: counts stocks making new highs or lows over your lookback period
Above Below MA: flags stocks trading above or below their moving average
RSI Sentiment: marks overbought or oversold stocks and plots a small histogram
► Universe Selection
Top 10, 20, 30, or 40 symbols from NYSE or NASDAQ
Option to weight by market cap or treat all symbols equally
► Timeframe Choice
Use your chart’s timeframe or any intraday, daily, weekly, or monthly resolution
► Histogram Smoothing
Two optional moving averages on the sentiment bars
Markers show when the faster average crosses above or below the slower one
► Ticker Table
Optional on-chart table showing each ticker’s state in color
Grid or single-row layout with adjustable text size and color settings
▮Inputs
► Mode and Lookback
Pick High Low, Above Below MA, or RSI Sentiment
Set lookback length (for example 10 bars)
If using Above Below MA, choose the moving average type (EMA, SMA, etc.)
► Universe Setup
Market: NYSE or NASDAQ
Number of symbols: 10, 20, 30, or 40
Weights: on or off
Timeframe: blank to match chart or pick any other
► Moving Averages on Histogram
Enable fast and slow averages
Set their lengths and types
Choose colors for averages and markers
► Table Options
Show or hide the symbol table
Select text size: tiny, small, or normal
Choose layout: grid or one-row
Pick colors for bullish, neutral, and bearish cells
Show or hide exchange prefixes
▮How to Read It
► Sentiment Bars
Green means bullish
Red means bearish
Near zero means neutral
► Zero Line
Separates bullish from bearish readings
► High Low Line (High Low mode only)
Smooth ratio of highs versus lows over your lookback
► MA Crosses
Fast MA above slow MA hints rising breadth
Fast MA below slow MA hints falling breadth
► Ticker Table
Each cell colored green, gray, or red for bull, neutral, or bear
▮Use Cases
► Confirm Market Trends
Early warning when price makes highs but breadth is weak
Catch rallies when breadth turns strong while price is flat
► Spot Sector Rotation
Switch between NYSE and NASDAQ to see which group leads
Watch tech versus industrial breadth to track money flow
► Filter Trade Signals
Enter longs only when breadth is bullish
Consider shorts when breadth turns negative
► Combine with Other Indicators
Use RSI Sentiment with trend tools to spot overextended moves
Add volume indicators in High Low mode for breakout confirmation
► Timeframe Analysis
Daily for big-picture bias
Intraday (15-min) for precise entries and exits
Opening Range and Market BoundariesOpening Range and Market Boundaries
This versatile and insightful indicator combines two powerful concepts frequently used by professional traders: Opening Range Analysis and Market Boundaries derived from previous high/low levels. It is specifically designed to support intraday trading strategies and helps you identify key price zones for entries, exits, and breakout confirmations.
🔍 Features & Utility
1. Opening Range Box
What it does:
Highlights the high and low of the first candle after market open (9:15 AM IST) with a shaded box. This box spans the full trading session, from 9:15 AM to 3:30 PM, representing the key price range where the initial balance is formed.
Timeframe Compatibility:
The Opening Range box is optimized for 1-minute to 1-hour charts. It is most effective on lower timeframes (1m, 5m, 15m, 30m) where intraday price movements and breakout patterns can be clearly observed.
Usage Tips:
Breakouts above or below the Opening Range box can signal potential directional bias for the rest of the trading day.
Price consolidating within the range may indicate a choppy or range-bound session.
Works well with volume and momentum indicators for confirmation.
2. Market Boundaries
What it does:
Plots horizontal lines at:
Previous Day High/Low
Previous Week High/Low
Previous Month High/Low
Why it matters:
These levels act as natural support and resistance zones, and are commonly watched by institutional traders, making them crucial for:
Spotting reversals or breakouts
Planning stop-loss and target zones
Avoiding trades around high-rejection areas
Customization Options:
Toggle ON/OFF for Daily, Weekly, and Monthly levels.
Independent colors and line thickness for each level, enabling you to distinguish between different timeframes easily.
🛠️ How to Use Effectively
Use during market open:
Switch to a 5-minute or 15-minute chart during the first few candles of the session. Observe the Opening Range box formation and plan trades based on breakout direction.
Confluence Trading:
Look for price action near previous session highs/lows in confluence with the Opening Range box edges. These intersections often become high-probability zones for breakouts or reversals.
Session Preparation:
Before the market opens, analyze where the price is relative to past high/low boundaries. If it's near a weekly/monthly level, be cautious — those areas can cause whipsaws or false breakouts.
Avoid low-volume breakouts:
Use this indicator in conjunction with volume tools or price action confirmation to validate the strength of a move outside the Opening Range or Market Boundaries.
📌 Summary
This indicator is designed for intraday traders, scalpers, and swing traders who want a reliable structure to guide their decisions. It visually marks the opening balance of the market and essential higher timeframe boundaries, helping you trade with discipline and precision.
AL Brooks - Price Action Multi-Signal Suite📘 Price Action Multi-Signal Suite📘
This indicator is a complete visual toolset for traders who use price action principles inspired by Al Brooks-style analysis.
It combines multiple nuanced signals — like first/second entries, breakout failures, trend bias, higher-timeframe context, and dynamic trend channels — into one elegant, customizable interface.
It is built with clarity, flexibility, and actionable precision in mind.
🧠 Core Concepts Behind the Tool
1. Trend Bias with EMA (20 by default)
The indicator calculates a standard EMA (default: 20) to establish trend direction bias.
When price is above EMA, we consider the market to be in a bull trend, and vice versa.
The EMA line changes color dynamically — green (bull), red (bear), gray (neutral).
🟢 Example:
If price is forming higher highs and staying above EMA with strong bull bars, the bias is bullish. In this phase, you're looking for High 1 and High 2 (H1/H2) setups.
2. First and Second Entries (H1/H2 and L1/L2)
High 1 (H1): First pullback in a bull trend after a minor new high.
High 2 (H2): A second attempt to push up after a failed H1.
Low 1 (L1) and Low 2 (L2): Mirror the above logic for bear trends.
📈 Example Trade – H2 Long:
Price breaks out above EMA.
Pulls back and forms an H1, but it fails to break out.
Second push (H2) forms a higher low, then closes strong above previous bar → BUY entry.
📉 Example Trade – L2 Short:
Market is below EMA.
A rally creates L1, fails.
L2 forms and closes below the previous bar low with a bear body → SELL entry.
3. Second Entry Logic (Simplified Swing Count)
This adds context to H2/L2 by ensuring at least two swings occurred in the same direction.
Reduces false signals in choppy markets.
Painted as colored circles (aqua = long, fuchsia = short).
4. Breakout Failure Detection
Detects false breakouts using 10-bar highs/lows:
Failed High Breakout: Price breaks a 10-bar high but closes back inside → potential reversal short.
Failed Low Breakout: Price breaks a 10-bar low but closes back inside → potential long.
🚨 Example:
Price breaks above a recent high but closes below it with a strong bear bar → look for reversal or fade setups.
5. Inside / Outside Bars
Helps recognize compression (inside bars) or volatility expansions (outside bars).
Inside bars often precede breakouts.
Outside bars may signal traps or indecision.
Use these in combination with entry logic. An H2 after an inside bar can signal a strong, clean breakout.
6. Higher Timeframe (HTF) Context
Pulls EMA and trend bias from a higher timeframe (default: 1hr).
Background color indicates HTF bias (adjustable opacity).
Green = HTF uptrend.
Red = HTF downtrend.
🧭 Usage: Trade in the direction of the HTF bias when possible. An H2 with HTF bias bullish adds confluence.
7. Trend Channels (Automatic, Visual)
Dynamically draws trend channel lines based on pivot highs/lows.
These act as support/resistance, visual guides for traps or continuation.
Trendline breakouts or touches often align with H2/L2 setups.
📏 Example:
Price touches lower channel and forms a second entry long (L2) with a strong bull bar → high-quality reversal trade.
⚙️ Customization Options
Toggle each signal component (entries, bias, bars, failures, channels).
Adjust EMA length, HTF resolution, background opacity.
Keep your chart clean and focused on the signals that matter to you.
📊 Trade Example Summary
H2 with HTF Bullish
Trade Setup: Strong bull bar after a failed H1, above EMA
Expected Move: Trend continuation upward
L2 with Channel Hit
Trade Setup: Pullback hits lower trend channel, forms L2
Expected Move: Reversal or scalp down
Failed High Breakout
Trade Setup: Price breaks above a 10-bar high, but reverses and closes inside
Expected Move: Quick fade or reversal short
Inside Bar + H2
Trade Setup: Price compresses into an inside bar, followed by a breakout with H2
Expected Move: Momentum breakout trade
Outside Bar + L2
Trade Setup: Price breaks strongly in one direction (outside bar), second push fails upward, forms L2
Expected Move: Short on weakness
Please note, this is an educational idea and representation of whatever I understood of it.
Historical performances may not be replicable in present/future.
Trade at your own responsibility.
Regards! ^^
[TTM] ICT Sessions & Ranges🌟 Overview 🌟
The ICT Sessions & Ranges Indicator helps traders identify key intraday price levels by marking custom session highs/lows and opening ranges.
It helps traders spot potential liquidity grabs, reversals, and breakout zones by tracking price behavior around these key areas
🌟 Session Highs & Lows – Liquidity Zones 🌟
Session highs and lows often attract price due to stop orders resting above or below them. These levels are frequently targeted during high-volatility moves.
🔹 Asia Session
- Usually ranges in low volatility.
- Highs/lows often get swept during early London.
- Price may raid these levels, then reverse.
🔹 London Session
- First major volatility of the day.
- Highs/lows often tested or swept in New York.
- Commonly forms the day’s true high or low.
🌟 Opening Range Concepts 🌟
The Opening Range is the first 15, 30, or 60 minutes of a session (e.g., New York).
The high (ORH) and low (ORL) define the market’s initial balance and key reaction levels.
🔹 Breakout Trade
- Price breaks ORH/ORL with momentum.
- Signals directional intent.
- Traders enter on the breakout, with stops inside the range.
🔹 Liquidity Raid
- Price briefly breaks ORH/ORL to trigger stops.
- Reverses after the sweep.
- Look for structure shift and entry near FVG or OB.
🌟 Customizable Settings 🌟
The indicator includes 3 configurable ranges , each with:
Start & End Time – Set any custom time window.
Display Type – Choose Box (highlight range) or Lines (mark high/low).
Color Settings – Set custom colors for boxes and lines.
🌟 Default Settings 🌟
Range 1 : 19:00–00:00 (Asia Session)
Range 2 : 01:45–05:15 (London Session)
Range 3 : 09:30–10:00 (NY Opening Range – 30m)